MethodChannelCastKeepAlive constructor
MethodChannelCastKeepAlive({
- MethodChannel? channel,
Implementation
MethodChannelCastKeepAlive({MethodChannel? channel})
: _channel = channel ?? const MethodChannel(channelName) {
_channel.setMethodCallHandler(_fromPlatform);
}