toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.downlineCount != null) {
    json[r'downlineCount'] = this.downlineCount;
  } else {
    json[r'downlineCount'] = null;
  }
  if (this.level != null) {
    json[r'level'] = this.level;
  } else {
    json[r'level'] = null;
  }
  if (this.rateBps != null) {
    json[r'rateBps'] = this.rateBps;
  } else {
    json[r'rateBps'] = null;
  }
  return json;
}