getSupportedColorEffects method

Future<List<String>?> getSupportedColorEffects()

A list of supported color effects.

Returns null if color effect setting is not supported.

See: getColorEffect

Implementation

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