mirror of
https://github.com/foss42/apidash.git
synced 2025-05-29 04:50:36 +08:00
Update file_utils.dart
This commit is contained in:
@ -7,6 +7,10 @@ import 'package:path_provider/path_provider.dart';
|
||||
|
||||
const uuid = Uuid();
|
||||
|
||||
String getNewUuid() {
|
||||
return uuid.v1();
|
||||
}
|
||||
|
||||
String? getFileExtension(String? mimeType) {
|
||||
if (mimeType == null) {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user