User.fromState constructor
User.fromState({})
Implementation
User.fromState({
Map<String, dynamic>? prevContent,
required String stateKey,
Map<String, dynamic> content = const {},
required String typeKey,
required String eventId,
required String senderId,
required DateTime originServerTs,
dynamic unsigned,
required Room room,
}) : super(
stateKey: stateKey,
prevContent: prevContent,
content: content,
type: typeKey,
eventId: eventId,
senderId: senderId,
originServerTs: originServerTs,
unsigned: unsigned,
room: room,
);