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