QueryDriveActivityRequest.fromJson constructor

QueryDriveActivityRequest.fromJson(
  1. Map json_
)

Implementation

QueryDriveActivityRequest.fromJson(core.Map json_)
    : this(
        ancestorName: json_.containsKey('ancestorName')
            ? json_['ancestorName'] as core.String
            : null,
        consolidationStrategy: json_.containsKey('consolidationStrategy')
            ? ConsolidationStrategy.fromJson(json_['consolidationStrategy']
                as core.Map<core.String, core.dynamic>)
            : null,
        filter: json_.containsKey('filter')
            ? json_['filter'] as core.String
            : null,
        itemName: json_.containsKey('itemName')
            ? json_['itemName'] as core.String
            : null,
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        pageToken: json_.containsKey('pageToken')
            ? json_['pageToken'] as core.String
            : null,
      );