toJson method
Implementation
Map<String, dynamic> toJson() {
final allow = this.allow;
final block = this.block;
final count = this.count;
return {
if (allow != null) 'Allow': allow,
if (block != null) 'Block': block,
if (count != null) 'Count': count,
};
}