Error constructor
Implementation
factory Error({
ErrorType? error,
$core.String? message,
}) {
final _result = create();
if (error != null) {
_result.error = error;
}
if (message != null) {
_result.message = message;
}
return _result;
}