Map<String, dynamic> toMap() { return <String, dynamic>{ 'effectiveTime': ?effectiveTime, 'retentionDurationSeconds': ?retentionDurationSeconds, }; }