getAccessibilityStats method

  1. @override
Future<Map<String, Object?>> getAccessibilityStats()
override

Implementation

@override
Future<Map<String, Object?>> getAccessibilityStats() async {
  try {
    final accessibilityString =
        await methodChannel.invokeMethod<String>('getAccessibilityStats');
    final accessiblityData =
        jsonDecode(accessibilityString.toString()) as Map<String, Object?>;
    return accessiblityData;
  } catch (e) {
    return {};
  }
}