SocialAccountWrite class
Constructors
- SocialAccountWrite({String? handle, String? provider, String? status})
- Returns a new SocialAccountWrite instance.
Properties
- handle ↔ String?
-
Handle is the account's public name on the network. Omitting it BLANKS the stored handle: this is a replacement, not a merge. Example: "@acme"
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- provider ↔ String?
-
Provider is the network this account is on: x, facebook, instagram, linkedin, tiktok, youtube or threads. Omitted means x. Example: "x"
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
Status is the connection lifecycle: connected, disconnected or error. Omitting it RESETS the account to connected.
getter/setter pair
Methods
-
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 ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → SocialAccountWrite? -
Returns a new SocialAccountWrite instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< SocialAccountWrite> -
mapFromJson(
dynamic json) → Map< String, SocialAccountWrite> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< SocialAccountWrite> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.