ListUserInvitationsResponse.fromJson constructor

ListUserInvitationsResponse.fromJson(
  1. Map json_
)

Implementation

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