File.fromBuffer constructor Null safety

File.fromBuffer(
  1. List<int> i,
  2. [ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]
)

Implementation

factory File.fromBuffer($core.List<$core.int> i,
        [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
    create()..mergeFromBuffer(i, r);