Group class
Group model as defined by https://github.com/dart-lang/test/blob/master/pkgs/test/doc/json_reporter.md#group
- Annotations
-
- @freezed
Constructors
- Group({required int id, required String name, @JsonKey(name: 'suiteID') required int suiteId, @JsonKey(name: 'parentID') int? parentId, required int testCount, int? line, int? column, String? url})
-
Factory constructor to create a Group
factory
-
Group.fromJson(Map<
String, dynamic> json) -
Factory constructor to convert json into a Group model
factory
Properties
- column → int?
-
The (1-based) column on which this group was defined, or
null
.no setterinherited -
copyWith
→ $GroupCopyWith<
Group> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
An opaque ID for this group.
no setterinherited
- line → int?
-
The (1-based) line on which this group was defined, or
null
.no setterinherited - name → String
-
The name of this group, including prefixes from any containing groups.
no setterinherited
- parentId → int?
-
The ID of this group's parent group, unless it's the root group.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suiteId → int
-
The ID of the suite containing this group.
no setterinherited
- testCount → int
-
The number of tests (recursively) within this group.
no setterinherited
- url → String?
-
The URL for the file in which this group 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