DonationId class
ID of a Donation.
Constructors
- DonationId(String val)
-
const
- DonationId.fromJson(String val)
-
Constructs a DonationId from the provided
val.factory - DonationId.local()
-
Creates a local DonationId.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLocal → bool
-
Indicates whether this DonationId is a local.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- val → String
-
Actual value wrapped by this NewType.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Returns a String representing this DonationId.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited