GeneralCubitVariableField constructor

const GeneralCubitVariableField({
  1. required ID? cubitID,
  2. required ID? stateID,
  3. required ID? variableID,
  4. required ModelFieldGetAttribute? modelAttribute,
  5. required JsonGetAttribute? jsonAttribute,
})

Implementation

const GeneralCubitVariableField({
  required this.cubitID,
  required this.stateID,
  required this.variableID,
  required this.modelAttribute,
  required this.jsonAttribute,
}) : assert(
        !(modelAttribute != null && jsonAttribute != null),
        'Attribute and json attribute cannot be set together',
      );