takeSnapshotFile static method
Implementation
static Future<void> takeSnapshotFile(String username, String password,
{required MediaUri snapshotUri, required File fileStore}) async {
final bytes = await OnvifUtil.takeSnapshot(username, password,
snapshotUri: snapshotUri);
await fileStore.writeAsBytes(bytes);
}