hasJsonNameAlias property

  1. @override
bool get hasJsonNameAlias
override

Returns true if this field/parameter has a JsonFieldAlias with a valid name.

Implementation

@override
bool get hasJsonNameAlias =>
    _hasJsonNameAlias ??= jsonFieldAliasAnnotations.alias != null;