EncodeOutput constructor

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

Implementation

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