wa_model_less library

Classes

LMap
A class that provides a map with a default value for missing keys.
MLess
A class that wraps around ModelLess and provides additional functionality or abstraction.
ModelLess
The ModelLess class is a dynamic, flexible data structure designed to handle nested data structures and perform common operations such as accessing, setting, and manipulating data within the structure. This class is particularly useful in scenarios where you need to work with JSON-like data structures that may contain nested maps or lists. Below is a detailed breakdown of the key features and methods in the ModelLess class.
ModelLessArray<T>
The ModelLessArray class is a generic class that provides a structure for managing a collection of items, specifically designed to work with ModelLess objects. This class offers features such as accessing items by index, dynamically setting and getting values, parsing JSON into the array, and retrieving nested data using paths. Below is an explanation and breakdown of the key features:

Extensions

MapFormatHelper on Map
Extension on Map that provides utility methods for type conversion and data extraction.
MapPath on Map<String, dynamic>
Extension on Map<String, dynamic> that allows navigating nested structures using a path string.