utils library

Classes

Uuid
Generates random version 4 UUID strings compliant with RFC 4122.

Functions

createResponseTransformer(String id) → StreamTransformer<List<int>, List<int>>
Creates a StreamTransformer that intercepts HTTP response data, forwarding chunks to the platform via the method channel while continuing to pass the data downstream.
headersToMap(HttpHeaders headers) → Map<String, String>
Converts an HttpHeaders instance into a Map suitable for sending over platform channels or displaying in Chrome DevTools.