updateMyProfileImage static method

Future<void> updateMyProfileImage({
  1. required String image,
  2. required dynamic flyCallback(
    1. FlyResponse response
    ),
})

image can be File path String or Url of the image

Implementation

static Future<void> updateMyProfileImage(
    {required String image,
    required Function(FlyResponse response) flyCallback}) {
  return FlyChatFlutterPlatform.instance
      .updateMyProfileImage(image, flyCallback);
}