DataDecoder typedef Null safety

DataDecoder = Object? Function(Object data)

Decoder function to convert raw data object into a user-defined data type.

Useful with embedded content.

Implementation

typedef DataDecoder = Object? Function(Object data);