DecodeAssetFunction<T> typedef

DecodeAssetFunction<T> = Future<T> Function(Uint8List)

Function signature used by Flame Network Assets to decode assets from a raw format.

Implementation

typedef DecodeAssetFunction<T> = Future<T> Function(Uint8List);