getCurrentColorScheme function
Implementation
Future<String> getCurrentColorScheme() async {
try {
final colorScheme = await _platform.getCurrentColorScheme();
if (colorScheme == null) {
throw Exception("Unable to get set color scheme.");
}
return colorScheme;
} catch (error, stackTrace) {
Error.throwWithStackTrace(error, stackTrace);
}
}