NIMSessionInfo.fromMap constructor

NIMSessionInfo.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory NIMSessionInfo.fromMap(Map<String, dynamic> map) {
  return NIMSessionInfo(
    sessionId: map['sessionId'] as String,
    sessionType:
        NIMSessionTypeConverter().fromValue(map['sessionType'] as String),
  );
}