toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (addressComponents != null) 'addressComponents': addressComponents!,
      if (formattedAddress != null) 'formattedAddress': formattedAddress!,
      if (missingComponentTypes != null)
        'missingComponentTypes': missingComponentTypes!,
      if (postalAddress != null) 'postalAddress': postalAddress!,
      if (unconfirmedComponentTypes != null)
        'unconfirmedComponentTypes': unconfirmedComponentTypes!,
      if (unresolvedTokens != null) 'unresolvedTokens': unresolvedTokens!,
    };