Map<String, dynamic> toMap() { return <String, dynamic>{ 'agentId': ?agentId, 'filter': ?filter, 'location': location, 'project': ?project, }; }