NullableMapConversionX<K, V> extension
Conversion helpers for nullable maps.
- on
-
- Map<
K, V> ?
- Map<
Methods
-
tryGetBigInt(
K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, BigInt? defaultValue, ElementConverter<BigInt> ? converter}) → BigInt? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to BigInt. -
tryGetBool(
K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, bool? defaultValue, ElementConverter<bool> ? converter}) → bool? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to bool. -
tryGetDateTime(
K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, String? format, String? locale, bool autoDetectFormat = false, bool useCurrentLocale = false, bool utc = false, DateTime? defaultValue, ElementConverter<DateTime> ? converter}) → DateTime? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to DateTime. -
tryGetDouble(
K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, double? defaultValue, String? format, String? locale, ElementConverter<double> ? converter}) → double? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to double. -
tryGetEnum<
T extends Enum> (K key, {required T parser(dynamic), List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, T? defaultValue, Map<String, dynamic> ? debugInfo}) → T? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to an enum usingparser. -
tryGetInt(
K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, int? defaultValue, String? format, String? locale, ElementConverter<int> ? converter}) → int? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to int. -
tryGetList<
T> (K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, List<T> ? defaultValue, ElementConverter<T> ? elementConverter}) → List<T> ? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to a List ofT. -
tryGetMap<
K2, V2> (K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, Map<K2, V2> ? defaultValue, ElementConverter<K2> ? keyConverter, ElementConverter<V2> ? valueConverter}) → Map<K2, V2> ? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to a Map ofK2toV2. -
tryGetNum(
K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, num? defaultValue, String? format, String? locale, ElementConverter<num> ? converter}) → num? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to num. -
tryGetSet<
T> (K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, Set<T> ? defaultValue, ElementConverter<T> ? elementConverter}) → Set<T> ? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to a Set ofT. -
tryGetString(
K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, String? defaultValue, ElementConverter<String> ? converter}) → String? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to String. -
tryGetUri(
K key, {List< K> ? alternativeKeys, dynamic innerKey, int? innerListIndex, Uri? defaultValue, ElementConverter<Uri> ? converter}) → Uri? -
Available on Map<
Tries to convert the value atK, V> ?, provided by the NullableMapConversionX extensionkey(oralternativeKeys) to Uri.