getAccount method
Get a user account.
If invalidate
is true, the existing account is invalidated,
regardless if it was cached.
Account caching is currently handled on the native side.
Throws an error if the user is not logged in.
Implementation
Future<Map<String, dynamic>> getAccount({
bool invalidate = false,
Map<String, dynamic> parameters = const <String, dynamic>{},
}) {
return GigyaFlutterPluginPlatform.instance.getAccount(
invalidate: invalidate,
parameters: parameters,
);
}