DataValidationRule.fromJson constructor

DataValidationRule.fromJson(
  1. Map json_
)

Implementation

DataValidationRule.fromJson(core.Map json_)
    : this(
        condition: json_.containsKey('condition')
            ? BooleanCondition.fromJson(
                json_['condition'] as core.Map<core.String, core.dynamic>)
            : null,
        inputMessage: json_.containsKey('inputMessage')
            ? json_['inputMessage'] as core.String
            : null,
        showCustomUi: json_.containsKey('showCustomUi')
            ? json_['showCustomUi'] as core.bool
            : null,
        strict:
            json_.containsKey('strict') ? json_['strict'] as core.bool : null,
      );