create static method
Implementation
static LedgerConnection create(LedgerConnectionHandler handler) {
final instance = LedgerConnection._(handler);
instance.connection = LedgerConnectionDartWrapper(
instanceHash: instance.instanceHash,
);
return instance;
}