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 (hasSpellCorrectedComponents != null)
    'hasSpellCorrectedComponents': hasSpellCorrectedComponents!,
  if (hasUnconfirmedComponents != null)
    'hasUnconfirmedComponents': hasUnconfirmedComponents!,
  if (inputGranularity != null) 'inputGranularity': inputGranularity!,
  if (possibleNextAction != null) 'possibleNextAction': possibleNextAction!,
  if (validationGranularity != null)
    'validationGranularity': validationGranularity!,
};