PhysicalTable.fromJson constructor

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

Implementation

factory PhysicalTable.fromJson(Map<String, dynamic> json) {
  return PhysicalTable(
    customSql: json['CustomSql'] != null
        ? CustomSql.fromJson(json['CustomSql'] as Map<String, dynamic>)
        : null,
    relationalTable: json['RelationalTable'] != null
        ? RelationalTable.fromJson(
            json['RelationalTable'] as Map<String, dynamic>)
        : null,
    s3Source: json['S3Source'] != null
        ? S3Source.fromJson(json['S3Source'] as Map<String, dynamic>)
        : null,
  );
}