BasicFieldReflection<O, T> constructor

BasicFieldReflection<O, T>(
  1. ClassReflection<O> classReflection,
  2. Type declaringType,
  3. TypeReflection type,
  4. String name,
  5. bool nullable,
  6. bool isFinal,
  7. List<Object>? annotations,
)

Implementation

BasicFieldReflection(super.classReflection, super.declaringType, this.type,
    this.name, this.nullable, this.isFinal, List<Object>? annotations)
    : _annotations = annotations == null || annotations.isEmpty
          ? _annotationsEmpty
          : UnmodifiableListView<Object>(annotations);