createGroup method

Future<(PersonGroup?, String?)> createGroup(
  1. String name, {
  2. dynamic metadata,
})

Implementation

Future<(PersonGroup?, String?)> createGroup(
  String name, {
  dynamic metadata,
}) async {
  var response = await _bridge.invokeMethod("createGroup", [
    name,
    metadata,
  ]);
  return _itemResponseFromJson(response, PersonGroup.fromJson);
}