Iterable<CodeAsset> get codeAssets => encodedAssets .where((e) => e.type == CodeAsset.type) .map(CodeAsset.fromEncoded);