ColumnDefinition.fromJson constructor

ColumnDefinition.fromJson(
  1. Map<String, dynamic> jsonSerialization
)

Implementation

factory ColumnDefinition.fromJson(Map<String, dynamic> jsonSerialization) {
  return ColumnDefinition(
    name: jsonSerialization['name'] as String,
    columnType:
        _i2.ColumnType.fromJson((jsonSerialization['columnType'] as int)),
    isNullable: jsonSerialization['isNullable'] as bool,
    columnDefault: jsonSerialization['columnDefault'] as String?,
    dartType: jsonSerialization['dartType'] as String?,
  );
}