TMAccount class Null safety
Properties
- address → String
-
Account's address.
final
- createdAt → DateTime
-
Account creation date
final
- hashCode → int
-
The hash code for this object.
read-only, inherited
- id → String
-
Account's id.
final
- isDeleted ↔ bool
-
Whenever the account is deleted.
read / write
- isDisabled ↔ bool
-
Whether the account is active or not.
read / write
-
messages
→ Stream<
Message> -
A stream of
Message
read-only - password → String
-
Account's password.
final
- quota ↔ int
-
Account's quota (To store message data).
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- updatedAt ↔ DateTime
-
Account update date
read / write
- used ↔ int
-
Account's quota used.
read / write
Methods
-
delete(
) → Future< bool> - Deletes the account Be careful to not use an account after it is been deleted
-
getMessages(
) → Future< List< Message> > - Returns the account's messages
-
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.
override
-
update(
) → Future< TMAccount> - Updates the account instance and returns it
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited