toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'name'] = this.name;
json[r'code'] = this.code;
json[r'content'] = this.content;
json[r'maps'] = this.maps;
json[r'duration'] = this.duration;
json[r'rate'] = this.rate;
return json;
}