TestCase class

Constructors

TestCase({int? createdBy, DateTime? createdOn, Map<String, dynamic>? customAttributes, int? displayOrder, String? estimate, String? estimateForecast, required int id, int? isDeleted, int? milestoneId, int? priorityId, String? refs, int? sectionId, int? suiteId, int? templateId, String? title, int? typeId, int? updatedBy, DateTime? updatedOn})
TestCase.fromJson(Map<String, dynamic> json)
factory

Properties

asJson Map<String, dynamic>
no setter
createdBy int?
final
createdOn DateTime?
final
customAttributes Map<String, dynamic>?
final
displayOrder int?
final
estimate String?
final
estimateForecast String?
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
isDeleted int?
final
milestoneId int?
final
priorityId int?
final
refs String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sectionId int?
final
suiteId int?
final
templateId int?
final
title String?
final
typeId int?
final
updatedBy int?
final
updatedOn DateTime?
final

Methods

delete({bool soft = false}) Future<SoftDeleteTestCase?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create(int sectionId, {Map<String, dynamic>? customValues, String? estimate, int? milestoneId, int? priorityId, String? refs, required String title, int? templateId, int? typeId}) Future<TestCase>
get(int caseId) Future<TestCase>
getAll(int projectId, {DateTime? createdAfter, DateTime? createdBefore, Iterable<int>? createdBy, String? filter, int? limit, int? offset, Iterable<int>? milestoneId, Iterable<int>? priorityId, String? refs, int? sectionId, Iterable<int>? templateId, Iterable<int>? typeId, DateTime? updatedAfter, DateTime? updatedBefore, Iterable<int>? updatedBy}) Future<TestCases>