Map<String, dynamic> toMap() { return { 'endpoint': endpoint, 'method': method, 'deleteKey': deleteKey, 'payload': payload, }; }