e<T> method Null safety

void e<T>(
  1. int tagNumber,
  2. String name,
  3. int fieldType,
  4. {dynamic defaultOrMaker,
  5. ValueOfFunc? valueOf,
  6. List<ProtobufEnum>? enumValues,
  7. String? protoName}
)

Implementation

void e<T>(int tagNumber, String name, int fieldType,
    {dynamic defaultOrMaker,
    ValueOfFunc? valueOf,
    List<ProtobufEnum>? enumValues,
    String? protoName}) {
  add<T>(
      tagNumber, name, fieldType, defaultOrMaker, null, valueOf, enumValues,
      protoName: protoName);
}