Map<String, dynamic> toMap() { return OpLogEntryMapper.ensureInitialized() .encodeMap<OpLogEntry<T>>(this as OpLogEntry<T>); }