GetSchemaByDefinitionResponse.fromJson constructor

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

Implementation

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