runtime library Null safety

Classes

Build
BuildContext
Configuration and context values used during Build.execute.
BuildExecutable
BuildManager
CodeAnalyzer
Compiler
MirrorContext
PreventCompilation
Prevents a type from being compiled when it otherwise would be.
RuntimeCollection
RuntimeContext
Contextual values used during runtime.
RuntimeGenerator
RuntimePackageCompiler
Compiler for the runtime package itself.
SourceCompiler
Runtimes that generate source code implement this method.

Properties

instance RuntimeContext
read / write

Functions

copyDirectory({required Uri src, required Uri dst}) → void
Recursively copies the contents of the directory at src to dst.
firstMetadataOfType<T>(DeclarationMirror dm, {TypeMirror? dynamicType}) → T?
getResolvedPackageUris(Uri packagesFileUri, {Uri? relativeTo}) Map<String, Uri>
Reads .packages file from packagesFileUri and returns map of package name to its location on disk.
isTypeFullyPrimitive(TypeMirror type) bool
runtimeCast(dynamic object, TypeMirror intoType) → dynamic

Exceptions / Errors

TypeCoercionException