CreateRuleResult.fromJson constructor

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

Implementation

factory CreateRuleResult.fromJson(Map<String, dynamic> json) {
  return CreateRuleResult(
    rule: json['rule'] != null
        ? Rule.fromJson(json['rule'] as Map<String, dynamic>)
        : null,
  );
}