DebugCreator class Null safety

A wrapper class for the Element that is the creator of a RenderObject.

Setting a DebugCreator as RenderObject.debugCreator will lead to better error messages.

Constructors

DebugCreator(Element element)
Create a DebugCreator instance with input Element.

Properties

element Element
The creator of the RenderObject.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited