hasJsonConstructorMandatory property
bool
get
hasJsonConstructorMandatory
Returns true
if some constructor has a JsonConstructor.mandatory annotation.
Implementation
bool get hasJsonConstructorMandatory => _hasJsonConstructorMandatory ??=
jsonConstructors.any((e) => e.hasJsonConstructorMandatory);