toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (addressComplete != null) 'addressComplete': addressComplete!,
      if (geocodeGranularity != null)
        'geocodeGranularity': geocodeGranularity!,
      if (hasInferredComponents != null)
        'hasInferredComponents': hasInferredComponents!,
      if (hasReplacedComponents != null)
        'hasReplacedComponents': hasReplacedComponents!,
      if (hasUnconfirmedComponents != null)
        'hasUnconfirmedComponents': hasUnconfirmedComponents!,
      if (inputGranularity != null) 'inputGranularity': inputGranularity!,
      if (validationGranularity != null)
        'validationGranularity': validationGranularity!,
    };