DependencyRule.fromJson constructor

DependencyRule.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DependencyRule.fromJson(Map<String, dynamic> json) => DependencyRule(
  field: json['field'] as String,
  message: json['message'] as String?,
  operator: getConditionOperator(json['operator'] as String),
  compareValue: json['compareValue'],
);