QuerySchemaVersionMetadataResponse.fromJson constructor

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

Implementation

factory QuerySchemaVersionMetadataResponse.fromJson(
    Map<String, dynamic> json) {
  return QuerySchemaVersionMetadataResponse(
    metadataInfoMap: (json['MetadataInfoMap'] as Map<String, dynamic>?)?.map(
        (k, e) =>
            MapEntry(k, MetadataInfo.fromJson(e as Map<String, dynamic>))),
    nextToken: json['NextToken'] as String?,
    schemaVersionId: json['SchemaVersionId'] as String?,
  );
}