toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (allowed != null) {
    json[r'allowed'] = allowed;
  }
  return json;
}