SingleColumnChange.fromJson constructor

SingleColumnChange.fromJson(
  1. Map json_
)

Implementation

SingleColumnChange.fromJson(core.Map json_)
    : this(
        array:
            json_.containsKey('array') ? json_['array'] as core.bool : null,
        arrayLength: json_.containsKey('arrayLength')
            ? json_['arrayLength'] as core.int
            : null,
        autoGenerated: json_.containsKey('autoGenerated')
            ? json_['autoGenerated'] as core.bool
            : null,
        charset: json_.containsKey('charset')
            ? json_['charset'] as core.String
            : null,
        collation: json_.containsKey('collation')
            ? json_['collation'] as core.String
            : null,
        comment: json_.containsKey('comment')
            ? json_['comment'] as core.String
            : null,
        customFeatures: json_.containsKey('customFeatures')
            ? json_['customFeatures'] as core.Map<core.String, core.dynamic>
            : null,
        dataType: json_.containsKey('dataType')
            ? json_['dataType'] as core.String
            : null,
        fractionalSecondsPrecision:
            json_.containsKey('fractionalSecondsPrecision')
                ? json_['fractionalSecondsPrecision'] as core.int
                : null,
        length: json_.containsKey('length')
            ? json_['length'] as core.String
            : null,
        nullable: json_.containsKey('nullable')
            ? json_['nullable'] as core.bool
            : null,
        precision: json_.containsKey('precision')
            ? json_['precision'] as core.int
            : null,
        scale: json_.containsKey('scale') ? json_['scale'] as core.int : null,
        setValues: json_.containsKey('setValues')
            ? (json_['setValues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        udt: json_.containsKey('udt') ? json_['udt'] as core.bool : null,
      );