getProfile method

  1. @override
Future<Map<String, dynamic>?> getProfile()
override

Implementation

@override
Future<Map<String, dynamic>?> getProfile() async {
  Map<Object?, Object?>? profile = await methodChannel.invokeMethod<Map<Object?, Object?>?>('getProfile');
  return profile?.cast<String, dynamic>();
}