toMap method
Converts this object to a platform-channel map.
Implementation
Map<String, Object?> toMap() => <String, Object?>{
'camera': camera.toMap(),
'audio': audio.toMap(),
'bluetooth': bluetooth.toMap(),
'location': location.toMap(),
'sensors': sensors.toMap(),
'biometrics': biometrics.toMap(),
'system': system.toMap(),
'extras': extras,
};