saveProfile method
Implementation
@override
Future<dynamic> saveProfile(String name, String email) async {
dynamic result;
try {
result = await mirrorFlyMethodChannel.invokeMethod("updateProfile", {
"name": name,
"email": email,
});
LogMessage.d('RESULT', '$result');
return result;
} on PlatformException catch (e) {
LogMessage.d("er ", "$e");
rethrow;
}
}