getUserProfile method
Fetches authenticated user profile claims.
Implementation
@override
Future<dynamic> getUserProfile() async {
if (isInitialized) {
final userProfile =
await methodChannel.invokeMethod<dynamic>('get-user-profile');
return userProfile;
} else {
throw FlutterError('Okta not initialized');
}
}