register method

void register(
  1. String command
)

Registers the rich presence client.

Implementation

void register(String command) {
  _bindings.Discord_Register(
    applicationId.toNativeUtf8(),
    command.toNativeUtf8(),
  );
}