VerificationResult constructor
VerificationResult(
{ - required bool trusted,
- required List<String> debugErrors,
})
Implementation
VerificationResult({
/// The result of the trust verification: true if trust for the given
/// verification details could be established and false if trust is rejected
/// for any reason.
required bool trusted,
/// If the trust verification failed, this array contains the errors
/// reported
/// by the underlying network layer. Otherwise, this array is empty.
///
/// *Note:* This list is meant for debugging only and may not
/// contain all relevant errors. The errors returned may change in future
/// revisions of this API, and are not guaranteed to be forwards or
/// backwards
/// compatible.
required List<String> debugErrors,
}) : _wrapped = $js.VerificationResult(
trusted: trusted,
debug_errors: debugErrors.toJSArray((e) => e),
);