create static method
Future<JrpcConnection>
create({
- required JrpcConnectionPost post,
- required JrpcNetworkSettings settings,
- required String name,
- required String group,
Implementation
static Future<JrpcConnection> create({
required JrpcConnectionPost post,
required JrpcNetworkSettings settings,
required String name,
required String group,
}) async {
final instance = JrpcConnection._(post, settings, name, group);
final lib = createLib();
instance.connection = await lib.newStaticMethodJrpcConnectionDartWrapper(
instanceHash: instance.instanceHash,
);
return instance;
}