We study the variability mechanism of active galactic nuclei (AGN) within the framework of the flare model. To this end we examine the case of Seyfert/LINER galaxy NGC 4258, which is observed at high inclination angle and exhibits rapid fluctuations of the X-ray light curve. We construct a model light curve based on the assumption of magnetic flares localized in the equatorial plane and orbiting with Keplerian speed at each given radius. We calculate the level of variability as a function of the inclination of an observer, taking into account all effects of general relativity near a rotating supermassive black hole. The variability level is a monotonic function of the source inclination. It rises more rapidly for larger values of the black hole spin (Kerr parameter) and for steeper emissivity (index beta of the radial profile). We compare the expected level of variability for the viewing angle 81.6 deg, as inferred for NGC 4258, with the case of moderate viewing angles about 30 deg, typical for Seyfert type-1 galaxies. Highly inclined sources such as this one are particularly suitable to test the flare model because the effects of orbital motion, Doppler boosting and light bending are all expected to have maximum when the accretion disk is seen almost edge-on. The model is consistent with the NGC 4258 variability, where the obscuring material is thought to be localized mainly towards the equatorial plane rather than forming a geometrically thick torus. Once the intrinsic time-scales of the flare duration are determined to better precision, this kind of highly inclined objects with a precisely known mass of the black hole can be used to set independent constraints on the spin parameter.