Function signature used by Flame Network Assets to encode assets to a raw format.
typedef EncodeAssetFunction<T> = Future<Uint8List> Function(T);