getMetadata method
Implementation
FileMetadata? getMetadata() {
final data = getAsset(kPackMetadataPath);
if (data == null) {
return null;
}
final content = utf8.decode(data);
return FileMetadataMapper.fromJson(content);
}
FileMetadata? getMetadata() {
final data = getAsset(kPackMetadataPath);
if (data == null) {
return null;
}
final content = utf8.decode(data);
return FileMetadataMapper.fromJson(content);
}