getSupportedPictureFormats method

Future<List<int>> getSupportedPictureFormats()

Gets the supported picture formats.

This method will always return a list with at least one element.

Implementation

Future<List<int>> getSupportedPictureFormats() async {
  final List<Object?> formats =
      await _channel.$getSupportedPictureFormats(this) as List<Object?>;
  return formats.cast<int>();
}