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