LiCpfHiddenPipe class

Masks CPF strings for public display.

The pipe sanitizes the value with essential_core before applying one of the supported display patterns. Values that are null, not strings, or do not contain 11 digits return null.

Annotations
  • @Pipe.new('liCpfHidden', pure: true)

Constructors

LiCpfHiddenPipe()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
transform(dynamic value, [String pattern = 'asteriskEnd']) → String?
Transforms value using one of the supported patterns.

Operators

operator ==(Object other) → bool
The equality operator.
inherited