toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (column != null) 'column': column!,
      if (description != null) 'description': description!,
      if (dimension != null) 'dimension': dimension!,
      if (ignoreNull != null) 'ignoreNull': ignoreNull!,
      if (name != null) 'name': name!,
      if (nonNullExpectation != null)
        'nonNullExpectation': nonNullExpectation!,
      if (rangeExpectation != null) 'rangeExpectation': rangeExpectation!,
      if (regexExpectation != null) 'regexExpectation': regexExpectation!,
      if (rowConditionExpectation != null)
        'rowConditionExpectation': rowConditionExpectation!,
      if (setExpectation != null) 'setExpectation': setExpectation!,
      if (statisticRangeExpectation != null)
        'statisticRangeExpectation': statisticRangeExpectation!,
      if (tableConditionExpectation != null)
        'tableConditionExpectation': tableConditionExpectation!,
      if (threshold != null) 'threshold': threshold!,
      if (uniquenessExpectation != null)
        'uniquenessExpectation': uniquenessExpectation!,
    };