write static method
Future<void>
write(
- File file,
- DomeManifest manifest, {
- Iterable<
DomeEntrySource> entries = const [], - bool checksums = false,
- bool forceZip64 = false,
Writes a packed .dome to file (see DomeCodec.write).
Implementation
static Future<void> write(
File file,
DomeManifest manifest, {
Iterable<DomeEntrySource> entries = const [],
bool checksums = false,
bool forceZip64 = false,
}) async {
final sink = file.openWrite();
try {
await DomeCodec.write(
manifest,
sink,
entries: entries,
checksums: checksums,
forceZip64: forceZip64,
);
} finally {
await sink.close();
}
}