updateGender method

Future<V2TimCallback> updateGender(
  1. int gender
)

1:男 2:女

Implementation

Future<V2TimCallback> updateGender(int gender) {
  Map<String, dynamic> infoMap = {"gender": gender};
  return model.updateSelfInfo(infoMap);
}