Test class

Annotations
  • @freezed

Constructors

Test({required int id, required String name, @JsonKey(name: 'suiteID') required int suiteId, @JsonKey(name: 'groupIDs') required List<int> groupIds, int? line, int? column, String? url, @JsonKey(name: 'root_line') int? rootLine, @JsonKey(name: 'root_column') int? rootColumn, @JsonKey(name: 'root_url') String? rootUrl})
Factory constructor to create a Test
factory
Test.fromJson(Map<String, dynamic> json)
Factory constructor to convert json into a Test model
factory

Properties

column int?
The (1-based) column on which this test was defined, or null.
no setterinherited
copyWith → $TestCopyWith<Test>
no setterinherited
groupIds List<int>
The IDs of groups containing this test, in order from outermost to innermost.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
An opaque ID for this test.
no setterinherited
line int?
The (1-based) line on which this test was defined, or null.
no setterinherited
name String
The name of this test, including prefixes from any containing groups.
no setterinherited
rootColumn int?
The (1-based) line on in the original test suite from which this test originated.
no setterinherited
rootLine int?
The (1-based) line in the original test suite from which this test originated.
no setterinherited
rootUrl String?
The URL for the original test suite in which this test was defined.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suiteId int
The ID of the suite containing this test.
no setterinherited
url String?
The URL for the file in which this test was defined, or null.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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