ValueDecodingOutput constructor

ValueDecodingOutput({
  1. Token? token,
  2. String? paramStr,
  3. AbiError? error,
  4. String? errorMessage,
})

Implementation

factory ValueDecodingOutput({
  Token? token,
  $core.String? paramStr,
  AbiError? error,
  $core.String? errorMessage,
}) {
  final result = create();
  if (token != null) result.token = token;
  if (paramStr != null) result.paramStr = paramStr;
  if (error != null) result.error = error;
  if (errorMessage != null) result.errorMessage = errorMessage;
  return result;
}