TypedDataEncoder typedef
Takes a typed-data and return a structured-data usable by the appropriate structured-data encoder (based on mime-type). Depending on the mime-type, the return type must be String, List<int>, Map<String, String | List<String>>, etc.
Implementation
typedef TypedDataEncoder =
FutureOr<dynamic> Function(dynamic typedData, Type typedDataType);