EcpSyncPlugin constructor

EcpSyncPlugin()

Implementation

factory EcpSyncPlugin() {
  if (_instance == null) {
    const MethodChannel methodChannel = MethodChannel('ecp_sync_plugin');
    const EventChannel eventChannel =
        EventChannel('ecp_sync_plugin_Progress');
    _instance = EcpSyncPlugin.private(methodChannel, eventChannel);
  }
  return _instance!;
}