ListUserListsResponse.fromJson constructor

ListUserListsResponse.fromJson(
  1. Map json_
)

Implementation

ListUserListsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        userLists: json_.containsKey('userLists')
            ? (json_['userLists'] as core.List)
                .map((value) => UserList.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );