toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'calls'] = this.calls;
    json[r'duration'] = this.duration;
  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;
}