ColumnMetadata.fromJson constructor

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

Implementation

factory ColumnMetadata.fromJson(Map<String, dynamic> json) {
  return ColumnMetadata(
    arrayBaseColumnType: json['arrayBaseColumnType'] as int?,
    isAutoIncrement: json['isAutoIncrement'] as bool?,
    isCaseSensitive: json['isCaseSensitive'] as bool?,
    isCurrency: json['isCurrency'] as bool?,
    isSigned: json['isSigned'] as bool?,
    label: json['label'] as String?,
    name: json['name'] as String?,
    nullable: json['nullable'] as int?,
    precision: json['precision'] as int?,
    scale: json['scale'] as int?,
    schemaName: json['schemaName'] as String?,
    tableName: json['tableName'] as String?,
    type: json['type'] as int?,
    typeName: json['typeName'] as String?,
  );
}