hasJsonConstructor property
bool
get
hasJsonConstructor
Returns true
if some constructor has a JsonConstructor annotation.
Implementation
bool get hasJsonConstructor =>
_hasJsonConstructor ??= jsonConstructors.isNotEmpty;