ListLocationsRequest.fromJson constructor

ListLocationsRequest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListLocationsRequest.fromJson(Map<String, dynamic> json) {
  return ListLocationsRequest(
    name: json['name'] ?? '',
    filter: json['filter'] ?? '',
    pageSize: json['pageSize'] ?? 0,
    pageToken: json['pageToken'] ?? '',
  );
}