getMetadata method

FileMetadata? getMetadata()

Implementation

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