hasJsonConstructorMandatory property

bool get hasJsonConstructorMandatory

Returns true if this constructor has a JsonConstructor.mandatory annotation.

Implementation

bool get hasJsonConstructorMandatory => _hasJsonConstructorMandatory ??=
    jsonConstructorAnnotations.any((e) => e.mandatory);