start static method

Future<HMSException?> start({
  1. required String title,
})

Starts the Whiteboard with the specified title. parameters:

title - title of the whiteboard

Refer Start Whiteboard

Implementation

static Future<HMSException?> start({required String title}) async {
  var result = await PlatformService.invokeMethod(
      PlatformMethod.startWhiteboard,
      arguments: {"title": title});

  if (result != null) {
    return HMSException.fromMap(result["error"]);
  } else {
    return null;
  }
}