DecodeOutput constructor

DecodeOutput({
  1. bool? isError,
  2. String? errorMessage,
  3. Value? value,
})

Implementation

factory DecodeOutput({
  $core.bool? isError,
  $core.String? errorMessage,
  $0.Value? value,
}) {
  final $result = create();
  if (isError != null) {
    $result.isError = isError;
  }
  if (errorMessage != null) {
    $result.errorMessage = errorMessage;
  }
  if (value != null) {
    $result.value = value;
  }
  return $result;
}