TestPlanModel class
Constructors
-
TestPlanModel.new({required TestPlanStatusModel status, required String createdById, required int globalId, required bool isDeleted, required String id, required String name, required String projectId, Map<
String, Object> attributes = const {}, DateTime? startedOn, DateTime? completedOn, DateTime? createdDate, DateTime? modifiedDate, String? modifiedById, DateTime? lockedDate, String? lockedById, List<TagModel> ? tags = const [], DateTime? startDate, DateTime? endDate, String? description, String? build, String? productName, bool? hasAutomaticDurationTimer}) - Returns a new TestPlanModel instance.
Properties
-
attributes
↔ Map<
String, Object> -
getter/setter pair
- build ↔ String?
-
getter/setter pair
- completedOn ↔ DateTime?
-
set when test plan status is completed (status changed to: Completed)
getter/setter pair
- createdById ↔ String
-
getter/setter pair
- createdDate ↔ DateTime?
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- endDate ↔ DateTime?
-
Used for analytics
getter/setter pair
- globalId ↔ int
-
Used for search Test plan
getter/setter pair
- hasAutomaticDurationTimer ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String
-
getter/setter pair
- isDeleted ↔ bool
-
getter/setter pair
- lockedById ↔ String?
-
getter/setter pair
- lockedDate ↔ DateTime?
-
getter/setter pair
- modifiedById ↔ String?
-
getter/setter pair
- modifiedDate ↔ DateTime?
-
getter/setter pair
- name ↔ String
-
getter/setter pair
- productName ↔ String?
-
getter/setter pair
- projectId ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate ↔ DateTime?
-
Used for analytics
getter/setter pair
- startedOn ↔ DateTime?
-
Set when test plan is starter (status changed to: In Progress)
getter/setter pair
- status ↔ TestPlanStatusModel
-
getter/setter pair
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → TestPlanModel? -
Returns a new TestPlanModel instance and imports its values from
value
if it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< TestPlanModel> -
mapFromJson(
dynamic json) → Map< String, TestPlanModel> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< TestPlanModel> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.