CreateSchemaResponse.fromJson constructor
CreateSchemaResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateSchemaResponse.fromJson(Map<String, dynamic> json) {
return CreateSchemaResponse(
compatibility: (json['Compatibility'] as String?)?.toCompatibility(),
dataFormat: (json['DataFormat'] as String?)?.toDataFormat(),
description: json['Description'] as String?,
latestSchemaVersion: json['LatestSchemaVersion'] as int?,
nextSchemaVersion: json['NextSchemaVersion'] as int?,
registryArn: json['RegistryArn'] as String?,
registryName: json['RegistryName'] as String?,
schemaArn: json['SchemaArn'] as String?,
schemaCheckpoint: json['SchemaCheckpoint'] as int?,
schemaName: json['SchemaName'] as String?,
schemaStatus: (json['SchemaStatus'] as String?)?.toSchemaStatus(),
schemaVersionId: json['SchemaVersionId'] as String?,
schemaVersionStatus:
(json['SchemaVersionStatus'] as String?)?.toSchemaVersionStatus(),
tags: (json['Tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}