EntityFormatter<T> class abstract

Formats a value using parameters and the entity containing the source field.

T is the type of the value that is being formatted.

Please keep it mind that this makes the formatter much less reusable, it is worth documenting what entities it does support or what fields are required/optional for it to work correctly.

Implemented types

Constructors

EntityFormatter()

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

format(T value, [String? parameters]) String
inherited
formatEntityField(Map entity, T value, [String? parameters]) String
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