hasJsonConstructor property

bool get hasJsonConstructor

Returns true if this constructor has a JsonConstructor annotation.

Implementation

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