We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Error: Unexpected null value.
metadata.timeCreated
metadata.updated
1 parent a4fa7ef commit 6eb235bCopy full SHA for 6eb235b
packages/firebase_storage/firebase_storage_web/lib/src/utils/metadata.dart
@@ -24,8 +24,8 @@ FullMetadata fbFullMetadataToFullMetadata(
24
'metageneration': metadata.metageneration,
25
'name': metadata.name,
26
'size': metadata.size,
27
- 'creationTimeMillis': metadata.timeCreated!.millisecondsSinceEpoch,
28
- 'updatedTimeMillis': metadata.updated!.millisecondsSinceEpoch,
+ 'creationTimeMillis': metadata.timeCreated?.millisecondsSinceEpoch,
+ 'updatedTimeMillis': metadata.updated?.millisecondsSinceEpoch,
29
});
30
}
31
0 commit comments