InnerOp constructor Null safety

InnerOp(
  1. {HashOp? hash,
  2. List<int>? prefix,
  3. List<int>? suffix}
)

Implementation

factory InnerOp({
  HashOp? hash,
  $core.List<$core.int>? prefix,
  $core.List<$core.int>? suffix,
}) {
  final _result = create();
  if (hash != null) {
    _result.hash = hash;
  }
  if (prefix != null) {
    _result.prefix = prefix;
  }
  if (suffix != null) {
    _result.suffix = suffix;
  }
  return _result;
}