ValueTransformation.fromJson constructor

ValueTransformation.fromJson(
  1. Map json_
)

Implementation

ValueTransformation.fromJson(core.Map json_)
    : this(
        applyHash: json_.containsKey('applyHash')
            ? ApplyHash.fromJson(
                json_['applyHash'] as core.Map<core.String, core.dynamic>)
            : null,
        assignMaxValue: json_.containsKey('assignMaxValue')
            ? Empty.fromJson(json_['assignMaxValue']
                as core.Map<core.String, core.dynamic>)
            : null,
        assignMinValue: json_.containsKey('assignMinValue')
            ? Empty.fromJson(json_['assignMinValue']
                as core.Map<core.String, core.dynamic>)
            : null,
        assignNull: json_.containsKey('assignNull')
            ? Empty.fromJson(
                json_['assignNull'] as core.Map<core.String, core.dynamic>)
            : null,
        assignSpecificValue: json_.containsKey('assignSpecificValue')
            ? AssignSpecificValue.fromJson(json_['assignSpecificValue']
                as core.Map<core.String, core.dynamic>)
            : null,
        doubleComparison: json_.containsKey('doubleComparison')
            ? DoubleComparisonFilter.fromJson(json_['doubleComparison']
                as core.Map<core.String, core.dynamic>)
            : null,
        intComparison: json_.containsKey('intComparison')
            ? IntComparisonFilter.fromJson(
                json_['intComparison'] as core.Map<core.String, core.dynamic>)
            : null,
        isNull: json_.containsKey('isNull')
            ? Empty.fromJson(
                json_['isNull'] as core.Map<core.String, core.dynamic>)
            : null,
        roundScale: json_.containsKey('roundScale')
            ? RoundToScale.fromJson(
                json_['roundScale'] as core.Map<core.String, core.dynamic>)
            : null,
        valueList: json_.containsKey('valueList')
            ? ValueListFilter.fromJson(
                json_['valueList'] as core.Map<core.String, core.dynamic>)
            : null,
      );