toMap method

Map<String, Object?> toMap()

Converts this object to a platform-channel map.

Implementation

Map<String, Object?> toMap() => <String, Object?>{
      'updateIntervalMs': updateIntervalMs,
      'fastestIntervalMs': fastestIntervalMs,
      'maxWaitTimeMs': maxWaitTimeMs,
      'foregroundServiceType': foregroundServiceType,
      'notificationChannelId': notificationChannelId,
      'notificationTitle': notificationTitle,
      'notificationText': notificationText,
      'geofenceDwellMs': geofenceDwellMs,
      'geofenceInitialTrigger': geofenceInitialTrigger,
    };