SuitePlatform class final

The platform on which a test suite is loaded.

Constructors

SuitePlatform(Runtime runtime, {Compiler? compiler, OperatingSystem os = OperatingSystem.none, bool inGoogle = false})
Creates a new platform with the given runtime and os, which defaults to OperatingSystem.none.
SuitePlatform.deserialize(Object serialized)
Converts a JSON-safe representation generated by serialize back into a SuitePlatform.
factory

Properties

compiler Compiler
The compiler that should used for this platform.
final
hashCode int
The hash code for this object.
no setterinherited
inGoogle bool
Whether we're running on Google-internal infrastructure.
final
os → OperatingSystem
The operating system on which the suite is running.
final
runtime Runtime
The runtime that hosts the suite.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Object
Converts this into a JSON-safe object that can be converted back to a SuitePlatform using SuitePlatform.deserialize.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited