


# BuildContextExtension extension
on [BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html)







    *[<Null safety>](https://dart.dev/null-safety)*



<p>Extension that helps to quickly access useful resources like wrapper,
session, account or data.</p>






## Methods

##### [account](../wyatt_authentication_bloc/BuildContextExtension/account.md)&lt;T extends [AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit-class.md)&lt;Data>, Data>() [Account](../wyatt_authentication_bloc/Account-class.md)?



Returns account  




##### [data](../wyatt_authentication_bloc/BuildContextExtension/data.md)&lt;T extends [AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit-class.md)&lt;Data>, Data>() Data?



Returns associated data  




##### [session](../wyatt_authentication_bloc/BuildContextExtension/session.md)&lt;T extends [AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit-class.md)&lt;Data>, Data>() [Session](../wyatt_authentication_bloc/Session-class.md)&lt;Data>?



Returns session  




##### [wrapper](../wyatt_authentication_bloc/BuildContextExtension/wrapper.md)&lt;T extends [AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit-class.md)&lt;Data>, Data>() [SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)&lt;Data>?



Returns session wrapper  


















