asJson property

Map<String, dynamic> get asJson

Implementation

Map<String, dynamic> get asJson => {
      'assignedto_id': assignedToId,
      'attachment_ids': attachmentIds,
      'comment': comment,
      'created_by': createdBy,
      'created_on': createdOn?.millisecondsSinceEpoch,
      'custom_step_results': customStepResults?.map((v) => v.asJson).toList(),
      'defects': defects,
      'elapsed': elapsed,
      'id': id,
      'status_id': statusId,
      'test_id': testId,
      'version': version,
    };