getPictureSizes method

Future<List<String>?> getPictureSizes()

get the picture size

Implementation

Future<List<String>?> getPictureSizes() async {
  // TODO(amirh): remove this on when the invokeMethod update makes it to stable Flutter.

  var result = await channel.invokeMethod('getPictureSizes', null);

  if (result == null) return null;

  return List<String>.from(result);
}