toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (deviceLocation != null) 'deviceLocation': deviceLocation!,
  if (language != null) 'language': language!,
  if (maxDatabaseEntries != null) 'maxDatabaseEntries': maxDatabaseEntries!,
  if (maxUpdateEntries != null) 'maxUpdateEntries': maxUpdateEntries!,
  if (region != null) 'region': region!,
  if (supportedCompressions != null)
    'supportedCompressions': supportedCompressions!,
};