getGroupProfile method

Future<Object> getGroupProfile(
  1. String groupID
)

Implementation

Future<Object> getGroupProfile(String groupID) async {
  final res = await wrappedPromiseToFuture(
      timeweb!.getGroupProfile(mapToJSObj({"groupID": groupID})));
  final code = res.code;
  if (code == 0) {
    return jsToMap(res.data)['group'];
  }
  return {};
}