ErrorMsg constructor

ErrorMsg({
  1. String? message,
  2. bool? cancel,
})

Implementation

factory ErrorMsg({
  $core.String? message,
  $core.bool? cancel,
}) {
  final $result = create();
  if (message != null) {
    $result.message = message;
  }
  if (cancel != null) {
    $result.cancel = cancel;
  }
  return $result;
}