CustomerType extension type
- on
- Implemented types
- Available extensions
Constructors
- CustomerType(String _)
-
const
- CustomerType.fromJson(Object? json)
Properties
-
codeUnits
→ List<
int> -
An unmodifiable list of the UTF-16 code units of this string.
no setterinherited
- hashCode → int
-
A hash code derived from the code units of the string.
no setterinherited
- isEmpty → bool
-
Whether this string is empty.
no setterinherited
- isNotEmpty → bool
-
Whether this string is not empty.
no setterinherited
- length → int
-
The length of the string.
no setterinherited
- runes → Runes
-
An Iterable of Unicode code-points of this string.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toJS → JSString
-
Available on String, provided by the StringToJSString extension
Converts this String to a JSString.no setter
Methods
-
allMatches(
String string, [int start = 0]) → Iterable< Match> -
Matches this pattern against the string repeatedly.
inherited
-
codeUnitAt(
int index) → int -
Returns the 16-bit UTF-16 code unit at the given
index
.inherited -
compareTo(
String other) → int -
Compares this string to
other
.inherited -
contains(
Pattern other, [int startIndex = 0]) → bool -
Whether this string contains a match of
other
.inherited -
encodeWith<
V> (Encoder< V> encoder) → V -
endsWith(
String other) → bool -
Whether this string ends with
other
.inherited -
indexOf(
Pattern pattern, [int start = 0]) → int -
Returns the position of the first match of
pattern
in this string, starting atstart
, inclusive:inherited -
lastIndexOf(
Pattern pattern, [int? start]) → int -
The starting position of the last match
pattern
in this string.inherited -
matchAsPrefix(
String string, [int start = 0]) → Match? -
Matches this pattern against the start of
string
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
padLeft(
int width, [String padding = ' ']) → String -
Pads this string on the left if it is shorter than
width
.inherited -
padRight(
int width, [String padding = ' ']) → String -
Pads this string on the right if it is shorter than
width
.inherited -
replaceAll(
Pattern from, String replace) → String -
Replaces all substrings that match
from
withreplace
.inherited -
replaceAllMapped(
Pattern from, String replace(Match match)) → String -
Replace all substrings that match
from
by a computed string.inherited -
replaceFirst(
Pattern from, String to, [int startIndex = 0]) → String -
Creates a new string with the first occurrence of
from
replaced byto
.inherited -
replaceFirstMapped(
Pattern from, String replace(Match match), [int startIndex = 0]) → String -
Replace the first occurrence of
from
in this string.inherited -
replaceRange(
int start, int? end, String replacement) → String -
Replaces the substring from
start
toend
withreplacement
.inherited -
split(
Pattern pattern) → List< String> -
Splits the string at matches of
pattern
and returns a list of substrings.inherited -
splitMapJoin(
Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) → String -
Splits the string, converts its parts, and combines them into a new
string.
inherited
-
startsWith(
Pattern pattern, [int index = 0]) → bool -
Whether this string starts with a match of
pattern
.inherited -
substring(
int start, [int? end]) → String -
The substring of this string from
start
, inclusive, toend
, exclusive.inherited -
toJson(
) → String -
toLowerCase(
) → String -
Converts all characters in this string to lower case.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toUpperCase(
) → String -
Converts all characters in this string to upper case.
inherited
-
trim(
) → String -
The string without any leading and trailing whitespace.
inherited
-
trimLeft(
) → String -
The string without any leading whitespace.
inherited
-
trimRight(
) → String -
The string without any trailing whitespace.
inherited
Operators
-
operator *(
int times) → String -
Creates a new string by concatenating this string with itself a number
of times.
inherited
-
operator +(
String other) → String -
Creates a new string by concatenating this string with
other
.inherited -
operator ==(
Object other) → bool -
Whether
other
is aString
with the same sequence of code units.inherited -
operator [](
int index) → String -
The character (as a single-code-unit String) at the given
index
.inherited
Static Methods
-
encode<
V> (CustomerType instance, Encoder< V> encoder) → V
Constants
- adNrt → const CustomerType
-
ad_nrt
- aeTrn → const CustomerType
-
ae_trn
- arCuit → const CustomerType
-
ar_cuit
- auAbn → const CustomerType
-
au_abn
- auArn → const CustomerType
-
au_arn
- bgUic → const CustomerType
-
bg_uic
- boTin → const CustomerType
-
bo_tin
- brCnpj → const CustomerType
-
br_cnpj
- brCpf → const CustomerType
-
br_cpf
- caBn → const CustomerType
-
ca_bn
- caGstHst → const CustomerType
-
ca_gst_hst
- caPstBc → const CustomerType
-
ca_pst_bc
- caPstMb → const CustomerType
-
ca_pst_mb
- caPstSk → const CustomerType
-
ca_pst_sk
- caQst → const CustomerType
-
ca_qst
- chVat → const CustomerType
-
ch_vat
- clTin → const CustomerType
-
cl_tin
- cnTin → const CustomerType
-
cn_tin
- coNit → const CustomerType
-
co_nit
- crTin → const CustomerType
-
cr_tin
- doRcn → const CustomerType
-
do_rcn
- ecRuc → const CustomerType
-
ec_ruc
- egTin → const CustomerType
-
eg_tin
- esCif → const CustomerType
-
es_cif
- euOssVat → const CustomerType
-
eu_oss_vat
- euVat → const CustomerType
-
eu_vat
- gbVat → const CustomerType
-
gb_vat
- geVat → const CustomerType
-
ge_vat
- hkBr → const CustomerType
-
hk_br
- huTin → const CustomerType
-
hu_tin
- idNpwp → const CustomerType
-
id_npwp
- ilVat → const CustomerType
-
il_vat
- inGst → const CustomerType
-
in_gst
- isVat → const CustomerType
-
is_vat
- jpCn → const CustomerType
-
jp_cn
- jpRn → const CustomerType
-
jp_rn
- jpTrn → const CustomerType
-
jp_trn
- kePin → const CustomerType
-
ke_pin
- krBrn → const CustomerType
-
kr_brn
- liUid → const CustomerType
-
li_uid
- mxRfc → const CustomerType
-
mx_rfc
- myFrp → const CustomerType
-
my_frp
- myItn → const CustomerType
-
my_itn
- mySst → const CustomerType
-
my_sst
- noVat → const CustomerType
-
no_vat
- noVoec → const CustomerType
-
no_voec
- nzGst → const CustomerType
-
nz_gst
- peRuc → const CustomerType
-
pe_ruc
- phTin → const CustomerType
-
ph_tin
- roTin → const CustomerType
-
ro_tin
- rsPib → const CustomerType
-
rs_pib
- ruInn → const CustomerType
-
ru_inn
- ruKpp → const CustomerType
-
ru_kpp
- saVat → const CustomerType
-
sa_vat
- sgGst → const CustomerType
-
sg_gst
- sgUen → const CustomerType
-
sg_uen
- siTin → const CustomerType
-
si_tin
- svNit → const CustomerType
-
sv_nit
- thVat → const CustomerType
-
th_vat
- trTin → const CustomerType
-
tr_tin
- twVat → const CustomerType
-
tw_vat
- uaVat → const CustomerType
-
ua_vat
- usEin → const CustomerType
-
us_ein
- uyRuc → const CustomerType
-
uy_ruc
- veRif → const CustomerType
-
ve_rif
- vnTin → const CustomerType
-
vn_tin
- zaVat → const CustomerType
-
za_vat