lastError property
ExtensionLastError?
get
lastError
Set for the lifetime of a callback if an ansychronous extension api has
resulted in an error. If no error has occured lastError will be
undefined
.
Implementation
ExtensionLastError? get lastError =>
$js.chrome.extension.lastError?.let(ExtensionLastError.fromJS);