ConvertProp<Raw, Converted> class

Annotation that simplifies prop type conversion by generating getter and setter in the respective getters and setters for the prop in the .over_react.g.dart part file.

A prop annotated with ConvertProp should always be typed the same as the Converted type.

Constructors

ConvertProp(Raw setter(Converted), Converted getter(Raw))
const

Properties

getter → Converted Function(Raw)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setter → Raw Function(Converted)
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