MultiColumnDatatypeChange.fromJson constructor

MultiColumnDatatypeChange.fromJson(
  1. Map json_
)

Implementation

MultiColumnDatatypeChange.fromJson(core.Map json_)
    : this(
        customFeatures: json_.containsKey('customFeatures')
            ? json_['customFeatures'] as core.Map<core.String, core.dynamic>
            : null,
        newDataType: json_.containsKey('newDataType')
            ? json_['newDataType'] as core.String
            : null,
        overrideFractionalSecondsPrecision:
            json_.containsKey('overrideFractionalSecondsPrecision')
                ? json_['overrideFractionalSecondsPrecision'] as core.int
                : null,
        overrideLength: json_.containsKey('overrideLength')
            ? json_['overrideLength'] as core.String
            : null,
        overridePrecision: json_.containsKey('overridePrecision')
            ? json_['overridePrecision'] as core.int
            : null,
        overrideScale: json_.containsKey('overrideScale')
            ? json_['overrideScale'] as core.int
            : null,
        sourceDataTypeFilter: json_.containsKey('sourceDataTypeFilter')
            ? json_['sourceDataTypeFilter'] as core.String
            : null,
        sourceNumericFilter: json_.containsKey('sourceNumericFilter')
            ? SourceNumericFilter.fromJson(json_['sourceNumericFilter']
                as core.Map<core.String, core.dynamic>)
            : null,
        sourceTextFilter: json_.containsKey('sourceTextFilter')
            ? SourceTextFilter.fromJson(json_['sourceTextFilter']
                as core.Map<core.String, core.dynamic>)
            : null,
      );