isHighContrastEnabled method
Implementation
@override
Future<bool> isHighContrastEnabled() async {
try {
final result = await methodChannel.invokeMethod<bool>('isHighTextContrastEnabled');
return result ?? false;
} catch (_) {
return false;
}
}