SearchGoogleLocationsResponse.fromJson constructor

SearchGoogleLocationsResponse.fromJson(
  1. Map json_
)

Implementation

SearchGoogleLocationsResponse.fromJson(core.Map json_)
    : this(
        googleLocations: json_.containsKey('googleLocations')
            ? (json_['googleLocations'] as core.List)
                .map((value) => GoogleLocation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );