hasJsonConstructor property

bool hasJsonConstructor

Returns true if some constructor has a JsonConstructor annotation.

Implementation

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