hasJsonConstructor property

bool hasJsonConstructor

Returns true if this constructor has a JsonConstructor annotation.

Implementation

bool get hasJsonConstructor =>
    _hasJsonConstructor ??= jsonConstructorAnnotations.isNotEmpty;