NIMSessionInfo.fromMap constructor Null safety

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('sessionType'),
  );
}