RuleConfiguration.fromJson constructor

RuleConfiguration.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory RuleConfiguration.fromJson(Map<String, Object?> json) {
  return RuleConfiguration(
    disabled: json[r'disabled'] as bool? ?? false,
    tag: json[r'tag'] as String?,
    value: json[r'value'] as String? ?? '',
  );
}