OracleColumn.fromJson constructor

OracleColumn.fromJson(
  1. Map _json
)

Implementation

OracleColumn.fromJson(core.Map _json)
    : this(
        columnName: _json.containsKey('columnName')
            ? _json['columnName'] as core.String
            : null,
        dataType: _json.containsKey('dataType')
            ? _json['dataType'] as core.String
            : null,
        encoding: _json.containsKey('encoding')
            ? _json['encoding'] 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,
      );