updateMyProfileImage method

  1. @override
Future updateMyProfileImage(
  1. String image
)
override

Implementation

@override
Future<dynamic> updateMyProfileImage(String image) async {
  //updateProfileImage
  dynamic profileResponse;
  try {
    profileResponse = await mirrorFlyMethodChannel
        .invokeMethod('updateMyProfileImage', {"image": image});
    debugPrint("updateMyProfileImage Result ==> $profileResponse");
    return profileResponse;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}