MethodChannelStylet constructor
MethodChannelStylet({
- MethodChannel methodChannel = const MethodChannel(_methodChannelName),
- EventChannel eventChannel = const EventChannel(_eventChannelName),
Creates a platform-channel backend with optionally injected test channels.
Implementation
MethodChannelStylet({
this.methodChannel = const MethodChannel(_methodChannelName),
this.eventChannel = const EventChannel(_eventChannelName),
});