formatted property

  1. @override
T get formatted
override

this getter must be called after validation and the validation must check that the type of the controller is T

Implementation

@override
T get formatted => controller.value as T;