getSupportedSceneModes method

Future<List<String>?> getSupportedSceneModes()

Gets the supported scene modes.

Returns null if scene mode setting is not supported.

Implementation

Future<List<String>?> getSupportedSceneModes() async {
  final List<Object?>? modes =
      await _channel.$getSupportedSceneModes(this) as List<Object?>?;
  return modes?.cast<String>();
}