toMap method

Map<String, Object?> toMap()

Converts this object to a platform-channel map.

Implementation

Map<String, Object?> toMap() => <String, Object?>{
      'sensorTypes': sensorTypes,
      'updateIntervalSeconds': updateIntervalSeconds,
      'emitCalibration': emitCalibration,
      'useDeviceMotionFusion': useDeviceMotionFusion,
    };