ListLogEntriesRequest.fromJson constructor

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

Implementation

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