encoding property Null safety

Encoding encoding
final

Implementation

final Encoding encoding;