Column.fromJson constructor
Implementation
factory Column.fromJson(Map<String, dynamic> json) => Column(
name: json['name'] as String,
type: DataType.values.firstWhere((e) => e.name == json['type']),
isPrimaryKey: json['isPrimaryKey'] as bool? ?? false,
isNullable: json['isNullable'] as bool? ?? true,
isIndexed: json['isIndexed'] as bool? ?? false,
);