BuildOutput constructor

BuildOutput(
  1. Map<String, Object?> json
)

Creates a BuildOutput from the given json.

Implementation

BuildOutput(super.json)
    : encodedAssets = _parseEncodedAssets(json.optionalList(_assetsKey)),
      encodedAssetsForLinking = {
        for (final MapEntry(:key, :value)
            in (json.optionalMap(_assetsForLinkingKey) ?? {}).entries)
          key: _parseEncodedAssets(value as List<Object?>),
      },
      metadata =
          Metadata.fromJson(json.optionalMap(_metadataConfigKey) ?? {});