deleteFriend static method

Future<NIMResult<void>> deleteFriend(
  1. String userId, {
  2. bool includeAlias = true,
})

删除好友

Implementation

static Future<NIMResult<void>> deleteFriend(String userId,
    {bool includeAlias = true}) async {
  return getIt<ContactProvider>()
      .deleteFriend(userId, includeAlias: includeAlias);
}