SchemaVersionListItem.fromJson constructor

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

Implementation

factory SchemaVersionListItem.fromJson(Map<String, dynamic> json) {
  return SchemaVersionListItem(
    createdTime: json['CreatedTime'] as String?,
    schemaArn: json['SchemaArn'] as String?,
    schemaVersionId: json['SchemaVersionId'] as String?,
    status: (json['Status'] as String?)?.toSchemaVersionStatus(),
    versionNumber: json['VersionNumber'] as int?,
  );
}