ErrorMessage constructor

ErrorMessage({
  1. String? message,
  2. int? errorCode,
})

Implementation

factory ErrorMessage({
  $core.String? message,
  $core.int? errorCode,
}) {
  final _result = create();
  if (message != null) {
    _result.message = message;
  }
  if (errorCode != null) {
    _result.errorCode = errorCode;
  }
  return _result;
}