formatMessage static method

String formatMessage(
  1. SIWECreateMessageArgs params
)

Given SIWECreateMessageArgs will format message according to EIP-4361 https://docs.login.xyz/general-information/siwe-overview/eip-4361

Implementation

static String formatMessage(SIWECreateMessageArgs params) {
  return siweService.instance!.formatMessage(
    params,
  );
}