SaveAccount class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

SaveAccount({required String name, required AccountType type, required num balance})
SaveAccount.fromJson(Map<String, dynamic> json)
factory

Properties

balance num
final
hashCode int
The hash code for this object.
no setteroverride
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AccountType
final

Methods

copyWith({String? name, AccountType? type, num? balance}) SaveAccount

Available on SaveAccount, provided by the $SaveAccountExtension extension

copyWithWrapped({Wrapped<String>? name, Wrapped<AccountType>? type, Wrapped<num>? balance}) SaveAccount

Available on SaveAccount, provided by the $SaveAccountExtension 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 SaveAccount Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(SaveAccount instance)