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