getFullHealthSnapshot method

  1. @override
Future<Map<String, dynamic>> getFullHealthSnapshot(
  1. Map<String, dynamic> options
)
override

Combined raw snapshot for all health domains in one round trip.

Implementation

@override
Future<Map<String, dynamic>> getFullHealthSnapshot(
  Map<String, dynamic> options,
) async {
  return <String, dynamic>{
    'battery': await getBatteryHealth(),
    'memory': await getMemoryHealth(),
    'storage': await getStorageHealth(),
    'network': await getNetworkHealth(options),
    'bluetooth': await getBluetoothHealth(),
    'security': await getSecurityHealth(options),
    'performance': await getPerformanceHealth(),
  };
}