toJson method

Map toJson()

Implementation

Map toJson() {
  return {
    'id': id,
    'type': type,
    'allow': allow,
    'deny': deny,
  };
}