PostgresqlColumn.fromJson constructor
PostgresqlColumn.fromJson(
- Map json_
Implementation
PostgresqlColumn.fromJson(core.Map json_)
: this(
column: json_.containsKey('column')
? json_['column'] as core.String
: null,
dataType: json_.containsKey('dataType')
? json_['dataType'] as core.String
: null,
length:
json_.containsKey('length') ? json_['length'] as core.int : null,
nullable: json_.containsKey('nullable')
? json_['nullable'] as core.bool
: null,
ordinalPosition: json_.containsKey('ordinalPosition')
? json_['ordinalPosition'] as core.int
: null,
precision: json_.containsKey('precision')
? json_['precision'] as core.int
: null,
primaryKey: json_.containsKey('primaryKey')
? json_['primaryKey'] as core.bool
: null,
scale: json_.containsKey('scale') ? json_['scale'] as core.int : null,
);