GetAuthorizersResponse.fromJson constructor

GetAuthorizersResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetAuthorizersResponse.fromJson(Map<String, dynamic> json) {
  return GetAuthorizersResponse(
    items: (json['items'] as List?)
        ?.whereNotNull()
        .map((e) => Authorizer.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}