MBaseModelFormController<T extends MBaseModel> constructor
MBaseModelFormController<T extends MBaseModel> (
- BuildContext context,
- T _entity, {
- required MSchemaRef? mtype,
- Map<
JsonPath, FormFieldValidator> ? validators,
Implementation
MBaseModelFormController(BuildContext context, this._entity,
{required MSchemaRef? mtype,
Map<JsonPath, FormFieldValidator>? validators})
: mtype = mtype ?? _entity.mtype,
super.base(context, validators ?? {}, "${mtype.baseCode}");