TemplateStringsArray constructor
TemplateStringsArray({
- List<
String> ? raw, - num? length,
- String toString$()?,
- String toLocaleString()?,
- String join([])?,
- List<
String> slice([])?, - num indexOf(])?,
- num lastIndexOf(])?,
- bool some(])?,
- void forEach(])?,
- List<
U> map<U>(])?, - num findIndex(])?,
- IterableIterator<
(num, String)> entries()?, - IterableIterator<
num> keys()?, - IterableIterator<
String> values()?, - bool includes(])?,
- List<
U> flatMap<U, This>(])?, - List flat<
A, D extends num>([ - D?
- String? at()?,
- num findLastIndex(])?,
- List<
String> toReversed()?, - List<
String> toSorted([])?, - List<
String> with$()?,
Implementation
factory TemplateStringsArray({
_i2.List<_i2.String>? raw,
_i2.num? length,
_i2.String Function()? toString$,
_i2.String Function()? toLocaleString,
_i2.String Function([_i2.String?])? join,
_i2.List<_i2.String> Function([
_i2.num?,
_i2.num?,
])? slice,
_i2.num Function(
_i2.String, [
_i2.num?,
])? indexOf,
_i2.num Function(
_i2.String, [
_i2.num?,
])? lastIndexOf,
_i2.bool Function(
_i2.Object? Function(
_i2.String,
_i2.num,
_i2.List<_i2.String>,
), [
_i2.dynamic,
])? some,
void Function(
void Function(
_i2.String,
_i2.num,
_i2.List<_i2.String>,
), [
_i2.dynamic,
])? forEach,
_i2.List<U> Function<U>(
U Function(
_i2.String,
_i2.num,
_i2.List<_i2.String>,
), [
_i2.dynamic,
])? map,
_i2.num Function(
_i2.Object? Function(
_i2.String,
_i2.num,
_i2.List<_i2.String>,
), [
_i2.dynamic,
])? findIndex,
_i10.IterableIterator<
(
_i2.num,
_i2.String,
)>
Function()?
entries,
_i10.IterableIterator<_i2.num> Function()? keys,
_i10.IterableIterator<_i2.String> Function()? values,
_i2.bool Function(
_i2.String, [
_i2.num?,
])? includes,
_i2.List<U> Function<U, This>(
_i2.Object Function(
_i2.String,
_i2.num,
_i2.List<_i2.String>,
), [
This?,
])? flatMap,
_i2.List<_i2.dynamic> Function<A, D extends _i2.num>([D?])? flat,
_i2.String? Function(_i2.num)? at,
_i2.num Function(
_i2.Object? Function(
_i2.String,
_i2.num,
_i2.List<_i2.String>,
), [
_i2.dynamic,
])? findLastIndex,
_i2.List<_i2.String> Function()? toReversed,
_i2.List<_i2.String> Function(
[_i2.num Function(
_i2.String,
_i2.String,
)?])?
toSorted,
_i2.List<_i2.String> Function(
_i2.num,
_i2.String,
)? with$,
}) =>
TemplateStringsArray._(
raw: raw ?? _i5.undefined,
length: length,
toString$: toString$ == null ? null : _i6.allowInterop(toString$),
toLocaleString:
toLocaleString == null ? null : _i6.allowInterop(toLocaleString),
join: join == null ? null : _i6.allowInterop(join),
slice: slice == null ? null : _i6.allowInterop(slice),
indexOf: indexOf == null ? null : _i6.allowInterop(indexOf),
lastIndexOf: lastIndexOf == null ? null : _i6.allowInterop(lastIndexOf),
some: some == null ? null : _i6.allowInterop(some),
forEach: forEach == null ? null : _i6.allowInterop(forEach),
map: map == null ? null : _i6.allowInterop(map),
findIndex: findIndex == null ? null : _i6.allowInterop(findIndex),
entries: entries == null ? null : _i6.allowInterop(entries),
keys: keys == null ? null : _i6.allowInterop(keys),
values: values == null ? null : _i6.allowInterop(values),
includes: includes == null ? null : _i6.allowInterop(includes),
flatMap: flatMap == null ? null : _i6.allowInterop(flatMap),
flat: flat == null ? null : _i6.allowInterop(flat),
at: at == null
? null
: _i6.allowInterop((p0) => () => at(p0) ?? _i5.undefined),
findLastIndex:
findLastIndex == null ? null : _i6.allowInterop(findLastIndex),
toReversed: toReversed == null ? null : _i6.allowInterop(toReversed),
toSorted: toSorted == null ? null : _i6.allowInterop(toSorted),
with$: with$ == null ? null : _i6.allowInterop(with$),
);