createGroup static method

Future<Group> createGroup(
  1. GroupContent groupContent
)

Implementation

static Future<Group> createGroup(GroupContent groupContent) {
  return NativeBridge.async(
          'Communities.createGroup', jsonEncode(groupContent.toJSON()))
      .then((result) => Group.fromJSON(jsonDecode(result)));
}