format method

  1. @override
String format(
  1. String value
)
override

Implementation

@override
String format(String value) => (strip(value).length > 11)
    ? CNPJValidator.format(value)
    : CPFValidator.format(value);