Delegation class abstract

Annotations
  • @freezed

Constructors

Delegation.new({@Default(null) String? owner, @Default(null) String? delegatedTo, @Default(null) HexString? key, @Default([]) List<String> tags})
const
factory

Properties

copyWith → $DelegationCopyWith<Delegation>
Create a copy of Delegation with the given fields replaced by the non-null parameter values.
no setterinherited
delegatedTo String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key HexString?
no setterinherited
owner String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>
no setterinherited

Methods

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

Operators

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

Static Methods

encode(Delegation value) Map<String, dynamic>
fromJSON(Map<String, dynamic> data) Delegation