setFriendInfo method Null safety

Future<V2TimCallback> setFriendInfo(
  1. {required String userID,
  2. String? friendRemark,
  3. Map<String, String>? friendCustomInfo}
)

Set the profile of a specified friend

Implementation

Future<V2TimCallback> setFriendInfo({
  required String userID,
  String? friendRemark,
  Map<String, String>? friendCustomInfo,
}) async {
  return ImFlutterPlatform.instance.setFriendInfo(
      userID: userID,
      friendRemark: friendRemark,
      friendCustomInfo: friendCustomInfo);
}