SearchMediaItemsRequest.fromJson constructor

SearchMediaItemsRequest.fromJson(
  1. Map json_
)

Implementation

SearchMediaItemsRequest.fromJson(core.Map json_)
    : this(
        albumId: json_.containsKey('albumId')
            ? json_['albumId'] as core.String
            : null,
        filters: json_.containsKey('filters')
            ? Filters.fromJson(
                json_['filters'] as core.Map<core.String, core.dynamic>)
            : null,
        orderBy: json_.containsKey('orderBy')
            ? json_['orderBy'] as core.String
            : null,
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        pageToken: json_.containsKey('pageToken')
            ? json_['pageToken'] as core.String
            : null,
      );