asJson property

Map<String, dynamic> get asJson

Implementation

Map<String, dynamic> get asJson => {
      'created_by': createdBy,
      'created_on': createdOn?.millisecondsSinceEpoch,
      'custom_steps_separated':
          customStepsSeparated?.map((v) => v.asJson).toList(),
      'custom_expected': customExpected,
      'custom_preconds': customPreconds,
      'custom_steps': customSteps,
      'estimate': estimate,
      'estimate_forecast': estimateForecast,
      'id': id,
      'milestone_id': milestoneId,
      'priority_id': priorityId,
      'refs': refs,
      'section_id': sectionId,
      'suite_id': suiteId,
      'title': title,
      'type_id': typeId,
      'updated_by': updatedBy,
      'updated_on': updatedOn?.millisecondsSinceEpoch,
    };