models/kokoro/src/kokoro_wire library

Functions

kokoroLoadRequestFromJson(Map<String, dynamic> json) → (KokoroBundle, KokoroChunkPolicy)
kokoroLoadRequestToJson(KokoroBundle bundle, KokoroChunkPolicy policy, {String resolve(String location)?}) → Map<String, Object?>
The JSON that carries a bundle and chunk policy to the web Worker. resolve maps each bundle location, for example to an absolute URL.