GetSchemaVersionResponse.fromJson constructor

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

Implementation

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