ProtoSavedEvent constructor

ProtoSavedEvent({
  1. List<int>? contract,
  2. String? event,
  3. Iterable<List<int>>? args,
})

Implementation

factory ProtoSavedEvent({
  $core.List<$core.int>? contract,
  $core.String? event,
  $core.Iterable<$core.List<$core.int>>? args,
}) {
  final _result = create();
  if (contract != null) {
    _result.contract = contract;
  }
  if (event != null) {
    _result.event = event;
  }
  if (args != null) {
    _result.args.addAll(args);
  }
  return _result;
}