BuilderInfo constructor Null safety

BuilderInfo(
  1. String? messageName,
  2. {PackageName package = const PackageName(''),
  3. CreateBuilderFunc? createEmptyInstance,
  4. Object? toProto3Json(
    1. GeneratedMessage message,
    2. TypeRegistry typeRegistry
    )?,
  5. dynamic fromProto3Json(
    1. GeneratedMessage targetMessage,
    2. Object json,
    3. TypeRegistry typeRegistry,
    4. JsonParsingContext context
    )?}
)

Implementation

BuilderInfo(String? messageName,
    {PackageName package = const PackageName(''),
    this.createEmptyInstance,
    this.toProto3Json,
    this.fromProto3Json})
    : qualifiedMessageName = '${package.prefix}$messageName';