toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var properties = this.properties;
  var updatedTime = this.updatedTime;
  var worklogId = this.worklogId;

  final json = <String, Object?>{};
  json[r'properties'] = properties.map((i) => i.toJson()).toList();
  if (updatedTime != null) {
    json[r'updatedTime'] = updatedTime;
  }
  if (worklogId != null) {
    json[r'worklogId'] = worklogId;
  }
  return json;
}