EncodeOutput constructor

EncodeOutput({
  1. bool? isError,
  2. String? errorMessage,
  3. String? result,
})

Implementation

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