ListRegistriesResponse.fromJson constructor

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

Implementation

factory ListRegistriesResponse.fromJson(Map<String, dynamic> json) {
  return ListRegistriesResponse(
    nextToken: json['NextToken'] as String?,
    registries: (json['Registries'] as List?)
        ?.whereNotNull()
        .map((e) => RegistrySummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}