mapField<T> method
ModelField<ModelMap>
mapField<T>(
- String name, {
- Type? type,
- FieldOptions options = FieldOptions.defaultOptions,
Implementation
ModelField<ModelMap> mapField<T>(String name, {Type? type, FieldOptions options = FieldOptions.defaultOptions}) => _add(
name,
ModelField<ModelMap>(
parent: this,
options: options,
useModelInstanciator: (json) => ModelMap(json, type: type),
));