ListEnrollmentTokensResponse.fromJson constructor

ListEnrollmentTokensResponse.fromJson(
  1. Map json_
)

Implementation

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