release-3.0.0

main 3.0.0
hrxiang 2 years ago
parent 9856ac8281
commit 8cc844a408
  1. 2
      lib/src/manager/im_manager.dart
  2. 8
      lib/src/models/user_info.dart

@ -20,7 +20,6 @@ class IMManager {
late UserInfo userInfo;
bool isLogined = false;
String? token;
String? _objectStorage;
IMManager(this._channel) {
conversationManager = ConversationManager(_channel);
@ -408,7 +407,6 @@ class IMManager {
String? operationID,
}) {
this._connectListener = listener;
this._objectStorage = objectStorage;
return _channel.invokeMethod(
'initSDK',
_buildParam(

@ -188,8 +188,6 @@ class UserInfo {
int? get _birth => friendInfo?.birth;
String? get _birthTime => friendInfo?.birthTime;
String? get _email => friendInfo?.email;
String? get _remark => friendInfo?.remark;
@ -280,9 +278,6 @@ class FriendInfo {
String? phoneNumber;
///
String? birthTime;
/// 使[birthTime]
int? birth;
///
@ -310,7 +305,6 @@ class FriendInfo {
this.gender,
this.phoneNumber,
this.birth,
this.birthTime,
this.email,
this.remark,
this.ex,
@ -331,7 +325,6 @@ class FriendInfo {
gender = json['gender'];
phoneNumber = json['phoneNumber'];
birth = json['birth'];
birthTime = json['birthTime'];
email = json['email'];
ex = json['ex'];
}
@ -349,7 +342,6 @@ class FriendInfo {
data['gender'] = this.gender;
data['phoneNumber'] = this.phoneNumber;
data['birth'] = this.birth;
data['birthTime'] = this.birthTime;
data['email'] = this.email;
data['ex'] = this.ex;
return data;

Loading…
Cancel
Save