Skip to content

Commit

Permalink
fix(firebase_storage_web): fix Error: Unexpected null value. when `…
Browse files Browse the repository at this point in the history
…metadata.timeCreated` or `metadata.updated` (#10577)
  • Loading branch information
nilsreichardt committed Mar 9, 2023
1 parent a4fa7ef commit 6eb235b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -24,8 +24,8 @@ FullMetadata fbFullMetadataToFullMetadata(
'metageneration': metadata.metageneration,
'name': metadata.name,
'size': metadata.size,
'creationTimeMillis': metadata.timeCreated!.millisecondsSinceEpoch,
'updatedTimeMillis': metadata.updated!.millisecondsSinceEpoch,
'creationTimeMillis': metadata.timeCreated?.millisecondsSinceEpoch,
'updatedTimeMillis': metadata.updated?.millisecondsSinceEpoch,
});
}

Expand Down

0 comments on commit 6eb235b

Please sign in to comment.