ListUsersResponse.fromJson constructor

ListUsersResponse.fromJson(
  1. Map json_
)

Implementation

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