ChannelResult class
Constructors
- ChannelResult({String? channel, String? error, String? externalId, String? provider, String? status})
- Returns a new ChannelResult instance.
Properties
- channel ↔ String?
-
the social integration id targeted
getter/setter pair
- error ↔ String?
-
short reason, when it failed
getter/setter pair
- externalId ↔ String?
-
social post id, when it went out
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- provider ↔ String?
-
"x" | "instagram" | ... when known
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
"distributed" | "scheduled" | "failed"
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) → ChannelResult? -
Returns a new ChannelResult instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ChannelResult> -
mapFromJson(
dynamic json) → Map< String, ChannelResult> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ChannelResult> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.