toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var description = this.description;
  var incompatibleRuleKeys = this.incompatibleRuleKeys;
  var isAvailableForInitialTransition = this.isAvailableForInitialTransition;
  var isVisible = this.isVisible;
  var name = this.name;
  var ruleKey = this.ruleKey;
  var ruleType = this.ruleType;

  final json = <String, Object?>{};
  json[r'description'] = description;
  json[r'incompatibleRuleKeys'] = incompatibleRuleKeys;
  json[r'isAvailableForInitialTransition'] = isAvailableForInitialTransition;
  json[r'isVisible'] = isVisible;
  json[r'name'] = name;
  json[r'ruleKey'] = ruleKey;
  json[r'ruleType'] = ruleType.value;
  return json;
}