utils/utils library

Extensions

StringExtension on String

Functions

deepCastMap(Map map) Map<String, dynamic>
Recursively converts a map produced by dart:js_interop's dartify() (typed Map<Object?, Object?>) into the Map<String, dynamic> shape used throughout the plugin. Nested maps and lists are converted as well.
deepCastValue(dynamic value) → dynamic
See deepCastMap.