MethodChannelDeviceInspector class

An implementation of DeviceInspectorPlatform that uses method channels.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBatteryInfo() → Future<BatteryInfo>
override
getCapabilities() → Future<DeviceCapabilities>
override
getCpuInfo() → Future<CpuInfo>
override
getDeviceInfo() → Future<DeviceInfo>
override
getGpuInfo() → Future<GpuInfo>
override
getMemoryInfo() → Future<MemoryInfo>
override
getNetworkInfo() → Future<List<NetworkInfo>>
override
getOsInfo() → Future<OsInfo>
override
getSensors() → Future<List<SensorInfo>>
override
getStorageInfo() → Future<List<StorageInfo>>
override
getSystemInfo() → Future<SystemInfo>
override
getSystemMetrics() → Future<SystemMetrics>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
watchMetrics({Duration interval = const Duration(seconds: 1)}) → Stream<SystemMetrics>
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited