Map<String, dynamic> toMap() { return <String, dynamic>{ 'policyId': policyId, 'targetIds': targetIds, }; }