SearchSchemasResponse.fromJson constructor

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

Implementation

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