selfCreateString method

  1. @override
String selfCreateString(
  1. NonBlankStringValidator validator
)
override

Returns Dart code that re-creates the Validatable instance or the equivalent Converter instance that can be used to convert properties of the type the validator validates.

Implementation

@override
String selfCreateString(NonBlankStringValidator validator) =>
    'Validatable(Strings(), ${validator.runtimeType}())';