toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (baseResourceUrl != null) 'baseResourceUrl': baseResourceUrl!,
  if (distance != null) 'distance': distance!,
  if (fingerprint != null) 'fingerprint': fingerprint!,
  if (layerInfo != null) 'layerInfo': layerInfo!,
};