toJson method

  1. @override
Map<String, dynamic> toJson()
override

Serializes the PlatformSpecificSettings to a map message

Implementation

@override
Map<String, dynamic> toJson() {
  return super.toJson()
    ..addAll({
      'forceLocationManager': forceLocationManager,
      'timeInterval': intervalDuration?.inMilliseconds,
      'foregroundNotificationConfig': foregroundNotificationConfig?.toJson(),
    });
}