HTError.awaitWithoutAsync constructor
HTError.awaitWithoutAsync({})
Error: Await appeared outside an async function.
Implementation
HTError.awaitWithoutAsync({
String? extra,
String? correction,
String? filename,
int? line,
int? column,
int? offset,
int? length,
}) : this(
HTErrorCode.awaitWithoutAsync,
HTErrorType.syntacticError,
message: HTLocale.current.errorAwaitWithoutAsync,
extra: extra,
correction: correction,
filename: filename,
line: line,
column: column,
offset: offset,
length: length,
);