toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.schemaVersion != null) {
    json[r'schema_version'] = this.schemaVersion;
  } else {
    json[r'schema_version'] = null;
  }
  if (this.total != null) {
    json[r'total'] = this.total;
  } else {
    json[r'total'] = null;
  }
  if (this.byType != null) {
    json[r'by_type'] = this.byType;
  } else {
    json[r'by_type'] = null;
  }
  return json;
}