callState property
Implementation
Future<CallState> get callState async {
final int? state =
await _foregroundChannel.invokeMethod<int>(GET_CALL_STATE);
if (state != null) {
return CallState.values[state];
} else {
return CallState.UNKNOWN;
}
}