PubTextEncoding constructor Null safety

PubTextEncoding()