def METHOD_NAME(part_info):
    properties = FlutterPlugin.properties_class.unmarshal({"source": "."})
    plugin = FlutterPlugin(properties=properties, part_info=part_info)
    flutter_bin = plugin._part_info.part_build_dir / "flutter-distro" / "bin"
    assert plugin.get_build_environment() == {"PATH": f"{flutter_bin}:${{PATH}}"}