get static method
Returns colors on Android 12+. Returns null on all other versions and platforms.
Implementation
static Future<MonetColors?> get() async {
final colors = await _channel.invokeMethod('getColors');
if (colors == null) return null;
return MonetColors.fromMap(Map<String, int>.from(colors));
}