NIMMessageKey.fromMap constructor Null safety
Implementation
factory NIMMessageKey.fromMap(Map<String, dynamic> param) {
return NIMMessageKey(
sessionType:
NIMSessionTypeConverter().fromValue(param['sessionType'] as String),
fromAccount: param['fromAccount'] as String?,
toAccount: param['toAccount'] as String?,
time: param['time'] as int?,
serverId: param['serverId'] as int?,
uuid: param['uuid'] as String?,
);
}