updateMyProfile method

  1. @override
Future updateMyProfile(
  1. String name,
  2. String email,
  3. String mobile,
  4. String status,
  5. String? image,
)
override

Implementation

@override
Future<dynamic> updateMyProfile(String name, String email, String mobile, String status, String? image) async {
  //updateProfile
  dynamic profileResponse;
  try {
    profileResponse = await mirrorFlyMethodChannel
        .invokeMethod('updateMyProfile', {"name": name, "email": email, "mobile": mobile, "status": status, "image": image});
    LogMessage.d("updateMyProfile Result ", " $profileResponse");
    return profileResponse;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}