Prettier mixin
This makes objects to be not needed to call [toPrettier]()
.
This overrides toString()
to became toPrettier()
This could be used as importing shortcut of this library since extension method are not easy to import today.
Unfortunately, this is not working with freezed for now.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited