Map<String, dynamic> toMap() => { "message": message, "path": path, "keyword": keyword, "debugMessage": debugMessage, "code": code, "arguments": arguments, "value": value };