MapModel<T> constructor

MapModel<T>([
  1. Map<String, T>? map
])

A model that can be treated as a map.

All keys in the map will be of type String.

Implementation

MapModel([Map<String, T>? map]) : super(map ?? {});