Repo class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

Repo(String projectId, String userId, String studyId, GitProvider provider, String? webUrl, String? gitUrl)
Repo.fromJson(Map<String, dynamic> json)
factory

Properties

gitUrl String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
primaryKeys Map<String, Object>
no setteroverride
projectId String
getter/setter pair
provider GitProvider
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
studyId String
getter/setter pair
userId String
getter/setter pair
webUrl String?
getter/setter pair

Methods

delete() Future<Repo>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save({bool onlyUpdate = false}) Future<Repo>
Save the object to the database. By default, this will upsert the object, i.e. insert it if it does not exist, or update it if it does. If onlyUpdate is set to true, the object has to exist in the database, otherwise the result will be empty.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

tableName → const String