TestResultV2ShortModel class

Constructors

TestResultV2ShortModel.new({required String id, required String configurationId, required String workItemVersionId, required String testRunId, required String outcome, String? autoTestId, String? message, String? traces, DateTime? startedOn, DateTime? completedOn, String? runByUserId, String? stoppedByUserId, String? testPointId, TestPointShortModel? testPoint, String? comment, List<LinkModel>? links = const [], List<AttachmentModel>? attachments = const [], Map<String, String>? parameters = const {}, Map<String, String>? properties = const {}})
Returns a new TestResultV2ShortModel instance.

Properties

attachments List<AttachmentModel>?
getter/setter pair
autoTestId String?
getter/setter pair
comment String?
getter/setter pair
completedOn DateTime?
getter/setter pair
configurationId String
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
getter/setter pair
getter/setter pair
message String?
getter/setter pair
outcome String
Property can contain one of these values: Passed, Failed, InProgress, Blocked, Skipped
getter/setter pair
parameters Map<String, String>?
getter/setter pair
properties Map<String, String>?
getter/setter pair
runByUserId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedOn DateTime?
getter/setter pair
stoppedByUserId String?
getter/setter pair
testPoint TestPointShortModel?
getter/setter pair
testPointId String?
getter/setter pair
testRunId String
getter/setter pair
traces String?
getter/setter pair
workItemVersionId String
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) TestResultV2ShortModel?
Returns a new TestResultV2ShortModel instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<TestResultV2ShortModel>
mapFromJson(dynamic json) Map<String, TestResultV2ShortModel>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<TestResultV2ShortModel>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.