RmlCompileResult class

The outcome of compiling a markup document into .rev bytes: exactly one of bytes and errors is set.

Shared by the ffi and web implementations of rmlToRev so callers see one type on both platforms.

Properties

bytes → Uint8List?
The compiled .rev, or null when the compile failed.
final
error → String?
<line>: <message> per error, for callers that only want text. Null on success.
no setter
errors → List<RmlCompileError>
Why the compile produced nothing, in the order the compiler reported them. Empty when bytes is set.
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