RmlProblem class
Something rml's inspect found wrong with a document: the compiler accepts it, but it is wired to the wrong thing.
Shared by the ffi and web implementations of rmlInspect so callers see
one type on both platforms.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ids
→ List<
String> -
The authored ids of the elements the problem is about, the element at
line first when it has one; when it has none, the id of the element
whose check produced the problem instead (not necessarily the element
at line). Elements whose id doesn't identify them (none, malformed,
reserved, or claimed by an earlier element) are left out; empty for a
document-wide finding.
final
- kind → String
-
One of inspect.hpp's Problem kinds, e.g. 'unresolved-bind-path' or
'artboards-overlap'; 'syntax' for a parse or naming failure.
final
- line → int
-
1-based; 0 when the problem is not tied to a line (a document-wide
finding).
final
- message → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → String
-
'error' or 'warning'.
final
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
Static Methods
-
listFromJson(
String json) → List< RmlProblem> -
Reads the
problemsJsonarray native sends across FFI/wasm.