SuitePlatform class Null safety

The platform on which a test suite is loaded.

Constructors

SuitePlatform(Runtime runtime, {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

hashCode int
The hash code for this object.
read-onlyinherited
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.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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