toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final accept = this.accept;
final maxSize = this.maxSize;
final protocols = this.protocols;
return {'accept': ?accept, 'maxSize': ?maxSize, 'protocols': ?protocols};
}