ContractCodeHistoryEntry constructor

ContractCodeHistoryEntry({
  1. ContractCodeHistoryOperationType? operation,
  2. Int64? codeId,
  3. AbsoluteTxPosition? updated,
  4. List<int>? msg,
})

Implementation

factory ContractCodeHistoryEntry({
  ContractCodeHistoryOperationType? operation,
  $fixnum.Int64? codeId,
  AbsoluteTxPosition? updated,
  $core.List<$core.int>? msg,
}) {
  final _result = create();
  if (operation != null) {
    _result.operation = operation;
  }
  if (codeId != null) {
    _result.codeId = codeId;
  }
  if (updated != null) {
    _result.updated = updated;
  }
  if (msg != null) {
    _result.msg = msg;
  }
  return _result;
}