toMap method

Map<String, Object?> toMap()

Converts this object to a platform-channel map.

Implementation

Map<String, Object?> toMap() => <String, Object?>{
      'allowsBackgroundLocationUpdates': allowsBackgroundLocationUpdates,
      'showsBackgroundLocationIndicator': showsBackgroundLocationIndicator,
      'pausesLocationUpdatesAutomatically':
          pausesLocationUpdatesAutomatically,
      'enableSignificantLocationChanges': enableSignificantLocationChanges,
      'enableVisitMonitoring': enableVisitMonitoring,
      'activityType': activityType,
      'geofenceNotifyOnEntry': geofenceNotifyOnEntry,
      'geofenceNotifyOnExit': geofenceNotifyOnExit,
    };