Wallet class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- Wallet({required String walletId, required WalletBalance balance, required WalletNumbers numbers, String? recipientId})
-
Wallet.fromJson(Map<
String, dynamic> json) -
factory
Properties
- balance → WalletBalance
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- numbers → WalletNumbers
-
final
- recipientId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- walletId → String
-
final
Methods
-
copyWith(
{String? walletId, WalletBalance? balance, WalletNumbers? numbers, String? recipientId}) → Wallet -
Available on Wallet, provided by the $WalletExtension extension
-
copyWithWrapped(
{Wrapped< String> ? walletId, Wrapped<WalletBalance> ? balance, Wrapped<WalletNumbers> ? numbers, Wrapped<String?> ? recipientId}) → Wallet -
Available on Wallet, provided by the $WalletExtension extension
-
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 ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const Wallet Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(Wallet instance)