CallInput class
Constructors
Properties
- agent ↔ String?
-
Agent hands the answered call to a Hanzo assistant by name instead of connecting it to a person. Empty places an ordinary call.
getter/setter pair
- from ↔ String?
-
From is the number to call FROM, in E.164. It must be one this org holds.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- record ↔ bool?
-
Record is a per-call flag rather than a product. Where a recording lands and how long it is kept is the org's retention policy, not this call's.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to ↔ String?
-
To is the number to call, in E.164.
getter/setter pair
- webhook ↔ String?
-
Webhook is a URL the carrier posts this call's events to as it progresses. Empty means the call's outcome is only visible by reading it back.
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) → CallInput? -
Returns a new CallInput instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< CallInput> -
mapFromJson(
dynamic json) → Map< String, CallInput> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< CallInput> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.