toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'duration'] = this.duration;
json[r'members'] = this.members;
if (this.next != null) {
json[r'next'] = this.next;
} else {
json[r'next'] = null;
}
if (this.prev != null) {
json[r'prev'] = this.prev;
} else {
json[r'prev'] = null;
}
return json;
}