Skip to content

Commit

Permalink
Update packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/fil…
Browse files Browse the repository at this point in the history
…e_storage/file_storage.dart

Co-authored-by: Dillon Nys <24740863+dnys1@users.noreply.github.com>
  • Loading branch information
khatruong2009 and dnys1 authored Sep 15, 2023
1 parent 009b0d8 commit 9ecffbf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

export 'file_storage_stub.dart'
import 'file_storage_stub.dart'
if (dart.library.io) 'file_storage_vm.dart'
if (dart.library.html) 'file_storage_web.dart';

/// File storage interface for saving and loading constraint locally
abstract interface class FileStorage {
factory FileStorage(AppPathProvider pathProvider) = FileStorageImpl;

/// Save constraint locally to file
Future<void> save(String fileName, String data);

Expand Down

0 comments on commit 9ecffbf

Please sign in to comment.