[][src]Function dart_sys::Dart_SetEnvironmentCallback

pub unsafe extern "C" fn Dart_SetEnvironmentCallback(
    callback: Dart_EnvironmentCallback
) -> Dart_Handle

Sets the environment callback for the current isolate. This callback is used to lookup environment values by name in the current environment. This enables the embedder to supply values for the const constructors bool.fromEnvironment, int.fromEnvironment and String.fromEnvironment.