ListSchemasResponse.fromJson constructor

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

Implementation

factory ListSchemasResponse.fromJson(Map<String, dynamic> json) {
  return ListSchemasResponse(
    nextToken: json['NextToken'] as String?,
    schemas: (json['Schemas'] as List?)
        ?.whereNotNull()
        .map((e) => SchemaSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}