fieldsWithJsonNameAlias property

List<FieldReflection<O, dynamic>> get fieldsWithJsonNameAlias

Returns the fields with a valid JsonFieldAlias.

Implementation

List<FieldReflection<O, dynamic>> get fieldsWithJsonNameAlias =>
    _fieldsWithJsonNameAlias ??=
        List<FieldReflection<O, dynamic>>.unmodifiable(
            allFields().where((f) => f.hasJsonNameAlias));