RmlCompileResult class
The outcome of compiling a markup document into .rev bytes: exactly one
of bytes and error is set.
Shared by the ffi and web implementations of rmlToRev so callers see one
type on both platforms.
Constructors
- RmlCompileResult.failure(String error)
-
const
- RmlCompileResult.success(Uint8List bytes)
-
const
Properties
- bytes → Uint8List?
-
The compiled
.rev, or null when the compile failed.final - error → String?
-
Why the compile produced nothing: one
<line>: <message>per error, in the order the compiler reported them. Null 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