toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (column != null) 'column': column!,
      if (defaultValue != null) 'defaultValue': defaultValue!,
      if (description != null) 'description': description!,
      if (gcRule != null) 'gcRule': gcRule!,
      if (highestIndexingType != null)
        'highestIndexingType': highestIndexingType!,
      if (lookerColumnSpec != null) 'lookerColumnSpec': lookerColumnSpec!,
      if (mode != null) 'mode': mode!,
      if (ordinalPosition != null) 'ordinalPosition': ordinalPosition!,
      if (rangeElementType != null) 'rangeElementType': rangeElementType!,
      if (subcolumns != null) 'subcolumns': subcolumns!,
      if (type != null) 'type': type!,
    };