NullableIterableConversionX<E> extension
Conversion helpers for nullable Iterable collections.
- on
-
- Iterable<
E> ?
- Iterable<
Methods
-
tryGetBigInt(
int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, BigInt? defaultValue, ElementConverter<BigInt> ? converter}) → BigInt? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to BigInt. -
tryGetBool(
int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, bool? defaultValue, ElementConverter<bool> ? converter}) → bool? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to bool. -
tryGetDateTime(
int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, String? format, String? locale, bool autoDetectFormat = false, bool useCurrentLocale = false, bool utc = false, DateTime? defaultValue, ElementConverter<DateTime> ? converter}) → DateTime? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to DateTime. -
tryGetDouble(
int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, String? format, String? locale, double? defaultValue, ElementConverter<double> ? converter}) → double? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to double. -
tryGetEnum<
T extends Enum> (int index, {required T parser(dynamic), List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, T? defaultValue, Map<String, dynamic> ? debugInfo}) → T? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to an enum usingparser. -
tryGetInt(
int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, String? format, String? locale, int? defaultValue, ElementConverter<int> ? converter}) → int? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to int. -
tryGetList<
T> (int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, List<T> ? defaultValue, ElementConverter<T> ? elementConverter}) → List<T> ? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to a List ofT. -
tryGetMap<
K2, V2> (int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, Map<K2, V2> ? defaultValue, ElementConverter<K2> ? keyConverter, ElementConverter<V2> ? valueConverter}) → Map<K2, V2> ? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to a Map ofK2toV2. -
tryGetNum(
int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, String? format, String? locale, num? defaultValue, ElementConverter<num> ? converter}) → num? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to num. -
tryGetSet<
T> (int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, Set<T> ? defaultValue, ElementConverter<T> ? elementConverter}) → Set<T> ? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to a Set ofT. -
tryGetString(
int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, String? defaultValue, ElementConverter<String> ? converter}) → String? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to String. -
tryGetUri(
int index, {List< int> ? alternativeIndices, dynamic innerMapKey, int? innerIndex, Uri? defaultValue, ElementConverter<Uri> ? converter}) → Uri? -
Available on Iterable<
Tries to convert the element atE> ?, provided by the NullableIterableConversionX extensionindex(or fallback indices) to Uri.