def METHOD_NAME(self) -> Optional[Dict[str, Dict[str, Any]]]:
    if not is_flatpak_build(self.workflow):
        self.log.info('not flatpak build, skipping plugin')
        return None
    resolve_comp_result: Dict[str, Any] = self.workflow.data.plugins_results[
        PLUGIN_RESOLVE_COMPOSES_KEY]
    flatpak_util = FlatpakUtil(workflow_config=self.workflow.conf,
                               source_config=self.workflow.source.config,
                               composes=resolve_comp_result['composes'])
    source = flatpak_util.get_flatpak_source_info()
    if not source:
        raise RuntimeError("flatpak_create_dockerfile must be run before flatpak_create_oci")
    build_flatpak_image = functools.partial(self.build_flatpak_image, source)
    return self.workflow.build_dir.for_each_platform(build_flatpak_image)