updateMyAvatar method Null safety

Future<void> updateMyAvatar(
  1. {required String? imgPath}
)

Implementation

Future<void> updateMyAvatar({required String? imgPath}) async {
  await _channel.invokeMethod('updateMyAvatar', {'imgPath': imgPath});
  return;
}