NIMStickTopSessionInfo.fromMap constructor Null safety
Implementation
factory NIMStickTopSessionInfo.fromMap(Map<String, dynamic> param) {
return NIMStickTopSessionInfo(
sessionId: param['sessionId'] as String,
sessionType:
NIMSessionTypeConverter().fromValue(param['sessionType'] as String),
ext: param['ext'] as String?,
createTime: param['createTime'] as int?,
updateTime: param['updateTime'] as int?,
);
}