jsonAnnotations property

  1. @override
List<JsonAnnotation> jsonAnnotations
override

Returns the JsonAnnotation of this field.

See JsonField and JsonFieldAlias.

Implementation

@override
List<JsonAnnotation> get jsonAnnotations =>
    _annotations.whereType<JsonAnnotation>().toList();