init static method

Future<SignClient> init({
  1. String? name,
  2. required String projectId,
  3. String? relayUrl,
  4. AppMetadata? metadata,
  5. ICore? core,
  6. Logger? logger,
  7. String? database,
})

Implementation

static Future<SignClient> init({
  String? name,
  required String projectId,
  String? relayUrl,
  AppMetadata? metadata,
  ICore? core,
  Logger? logger,
  String? database,
}) async {
  final client = SignClient._(
    name: name,
    projectId: projectId,
    relayUrl: relayUrl,
    metadata: metadata ?? AppMetadata.empty(),
    core: core,
    logger: logger,
    database: database,
  );
  await client._initialize();
  return client;
}