SearchGoogleLocationsRequest.fromJson constructor

SearchGoogleLocationsRequest.fromJson(
  1. Map json_
)

Implementation

SearchGoogleLocationsRequest.fromJson(core.Map json_)
    : this(
        location: json_.containsKey('location')
            ? Location.fromJson(
                json_['location'] as core.Map<core.String, core.dynamic>)
            : null,
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        query:
            json_.containsKey('query') ? json_['query'] as core.String : null,
      );