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