asMap method

Map asMap()

Implementation

Map asMap() {
  Map<String, dynamic> map = {};

  map["luminositySensorThreshold"] = luminositySensorSettings;
  map["orientationSensorThreshold"] = orientationSensorSettings;
  map["stabilitySensorSettings"] = stabilitySensorSettings?.asMap();
  map["disableLuminositySensor"] = disableLuminositySensor;
  map["disableOrientationSensor"] = disableOrientationSensor;
  map["disableStabilitySensor"] = disableStabilitySensor;

  return map;
}