RepositoryPermissions class Null safety

Model class for repository permissions.

Annotations

Constructors

RepositoryPermissions({bool admin = false, bool push = false, bool pull = false})
RepositoryPermissions.fromJson(Map<String, dynamic> json)
factory

Properties

admin bool
Administrative Access
@JsonKey(defaultValue: false), final
hashCode int
The hash code for this object. [...]
read-only, inherited
pull bool
Pull Access
@JsonKey(defaultValue: false), final
push bool
Push Access
@JsonKey(defaultValue: false), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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