toMap method

Map toMap()

Implementation

Map<dynamic, dynamic> toMap() {
  final Map<dynamic, dynamic> data = {};
  data['with_services'] = withServices.map((s) => s.str).toList();
  data['with_remote_ids'] = withRemoteIds;
  data['with_names'] = withNames;
  data['with_keywords'] = withKeywords;
  data['with_msd'] = withMsd.map((d) => d.toMap()).toList();
  data['with_service_data'] = withServiceData.map((d) => d.toMap()).toList();
  data['continuous_updates'] = continuousUpdates;
  data['continuous_divisor'] = continuousDivisor;
  data['android_scan_mode'] = androidScanMode;
  data['android_uses_fine_location'] = androidUsesFineLocation;
  return data;
}