toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var queueCategory = this.queueCategory;
  var queueId = this.queueId;
  var queueName = this.queueName;

  final json = <String, Object?>{};
  if (queueCategory != null) {
    json[r'queueCategory'] = queueCategory;
  }
  if (queueId != null) {
    json[r'queueId'] = queueId;
  }
  if (queueName != null) {
    json[r'queueName'] = queueName;
  }
  return json;
}