phoneStateChange method
phoneStateChange ios callkit android telephonyManager phoneStateChange
Implementation
@override
Stream<CallResult> phoneStateChange() {
return _eventChannel
.receiveBroadcastStream()
.map((event) => CallResult.fromFlag(event))
.asBroadcastStream()
.distinct();
}