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!.toJson(),
      if (layerInfo != null)
        'layerInfo': layerInfo!.map((value) => value.toJson()).toList(),
    };