ReferenceDataSourceDescription.fromJson constructor

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

Implementation

factory ReferenceDataSourceDescription.fromJson(Map<String, dynamic> json) {
  return ReferenceDataSourceDescription(
    referenceId: json['ReferenceId'] as String,
    s3ReferenceDataSourceDescription:
        S3ReferenceDataSourceDescription.fromJson(
            json['S3ReferenceDataSourceDescription'] as Map<String, dynamic>),
    tableName: json['TableName'] as String,
    referenceSchema: json['ReferenceSchema'] != null
        ? SourceSchema.fromJson(
            json['ReferenceSchema'] as Map<String, dynamic>)
        : null,
  );
}