Extension<T> constructor Null safety

Extension<T>(
  1. String extendee,
  2. String name,
  3. int tagNumber,
  4. int fieldType,
  5. {dynamic defaultOrMaker,
  6. CreateBuilderFunc? subBuilder,
  7. ValueOfFunc? valueOf,
  8. List<ProtobufEnum>? enumValues,
  9. String? protoName}
)

Implementation

Extension(this.extendee, String name, int tagNumber, int fieldType,
    {dynamic defaultOrMaker,
    CreateBuilderFunc? subBuilder,
    ValueOfFunc? valueOf,
    List<ProtobufEnum>? enumValues,
    String? protoName})
    : super(name, tagNumber, null, fieldType,
          defaultOrMaker: defaultOrMaker,
          subBuilder: subBuilder,
          valueOf: valueOf,
          enumValues: enumValues,
          protoName: protoName);