toJson method

Map<String, dynamic> toJson()

Implementation

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