RuleSet.fromJson constructor

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

Implementation

factory RuleSet.fromJson(Map<String, dynamic> json) {
  return RuleSet(
    id: RuleSetId.fromJson(json['id'] as String),
    loaderId: network.LoaderId.fromJson(json['loaderId'] as String),
    sourceText: json['sourceText'] as String,
  );
}