GetSchemaResponse.fromJson constructor
GetSchemaResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetSchemaResponse.fromJson(Map<String, dynamic> json) {
return GetSchemaResponse(
compatibility: (json['Compatibility'] as String?)?.toCompatibility(),
createdTime: json['CreatedTime'] as String?,
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(),
updatedTime: json['UpdatedTime'] as String?,
);
}