ProjectShortModel class
Constructors
- ProjectShortModel.new({required String id, required String name, required bool isFavorite, required bool isDeleted, required DateTime createdDate, required String createdById, required int globalId, required ProjectTypeModel type, required bool isFlakyAuto, required String workflowId, String? description, int? testCasesCount, int? checkListsCount, int? autoTestsCount, DateTime? modifiedDate, String? modifiedById})
- Returns a new ProjectShortModel instance.
Properties
- autoTestsCount ↔ int?
-
Number of autotests in the project
getter/setter pair
- checkListsCount ↔ int?
-
Number of checklists in the project
getter/setter pair
- createdById ↔ String
-
Unique ID of the project creator
getter/setter pair
- createdDate ↔ DateTime
-
Creation date of the project
getter/setter pair
- description ↔ String?
-
Description of the project
getter/setter pair
- globalId ↔ int
-
Global ID of the project
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String
-
Unique ID of the project
getter/setter pair
- isDeleted ↔ bool
-
Indicates if the project is deleted
getter/setter pair
- isFavorite ↔ bool
-
Indicates if the project is marked as favorite
getter/setter pair
- isFlakyAuto ↔ bool
-
Indicates if the status "Flaky/Stable" sets automatically
getter/setter pair
- modifiedById ↔ String?
-
Unique ID of the project last editor
getter/setter pair
- modifiedDate ↔ DateTime?
-
Last modification date of the project
getter/setter pair
- name ↔ String
-
Name of the project
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Number of shared steps in the project
getter/setter pair
- testCasesCount ↔ int?
-
Number of test cases in the project
getter/setter pair
- type ↔ ProjectTypeModel
-
Type of the project
getter/setter pair
- workflowId ↔ 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) → ProjectShortModel? -
Returns a new ProjectShortModel instance and imports its values from
value
if it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ProjectShortModel> -
mapFromJson(
dynamic json) → Map< String, ProjectShortModel> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ProjectShortModel> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.