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) => DatasetSchemaSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}