AuthInfo constructor Null safety

AuthInfo(
  1. {Iterable<SignerInfo>? signerInfos,
  2. Fee? fee}
)

Implementation

factory AuthInfo({
  $core.Iterable<SignerInfo>? signerInfos,
  Fee? fee,
}) {
  final _result = create();
  if (signerInfos != null) {
    _result.signerInfos.addAll(signerInfos);
  }
  if (fee != null) {
    _result.fee = fee;
  }
  return _result;
}