RmlProjectCompileResult class

The outcome of compiling a project: exactly one of bytes and errors is set. fileReferences is set whenever the compile ran, failed or not.

Constructors

RmlProjectCompileResult.failure(List<RmlCompileError> errors, {List<RmlFileReference> fileReferences = const []})
const
RmlProjectCompileResult.success(Uint8List bytes, {List<RmlFileReference> fileReferences = const []})
const

Properties

bytes → Uint8List?
The compiled .rev, or null when the compile failed.
final
errors → List<RmlCompileError>
final
fileReferences → List<RmlFileReference>
final
hashCode → int
The hash code for this object.
no setterinherited
isSuccess → bool
no setter
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
toString() → String
A string representation of this object.
inherited

Operators

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