CallState class abstract
Describes the current call state
- Inheritance
- Implementers
- Available extensions
- Annotations
-
- @immutable
Constructors
- CallState()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult pending(CallStatePending value), required TResult exchangingKeys(CallStateExchangingKeys value), required TResult ready(CallStateReady value), required TResult hangingUp(CallStateHangingUp value), required TResult discarded(CallStateDiscarded value), required TResult error(CallStateError value)}) → TResult -
Available on CallState, provided by the CallStateExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult pending(CallStatePending value)?, TResult exchangingKeys(CallStateExchangingKeys value)?, TResult ready(CallStateReady value)?, TResult hangingUp(CallStateHangingUp value)?, TResult discarded(CallStateDiscarded value)?, TResult error(CallStateError value)?, required TResult orElse()}) → TResult -
Available on CallState, provided by the CallStateExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → CallState? - Inherited by: CallStateDiscarded CallStateError CallStateExchangingKeys CallStateHangingUp CallStatePending CallStateReady
Constants
- constructor → const String