Map<String, dynamic> toMap() { return MessageSentMapper.ensureInitialized().encodeMap<MessageSent>( this as MessageSent, ); }