TypeConverters class
Specifies additional type converters that Floor can use. The TypeConverter is added to the scope of the element so if you put it on a class, all methods/fields in that class will be able to use the converter.
The closest type converter wins! If you, for example, add a converter on the database level and another one on a DAO method parameter, which takes care of converting the same types, the one declared next to the DAO method parameter will be used. Please refer to the below list to get more information about the precedence of converters.
Type converters can be applied to:
- databases
- DAOs
- entities/views
- entity/view fields
- DAO methods
- DAO method parameters
- Annotations
-
- @experimental
Constructors
-
TypeConverters(List<
Type> value) -
const
Properties
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