ListRegistrationsResponse.fromJson constructor

ListRegistrationsResponse.fromJson(
  1. Map json_
)

Implementation

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