ImageResult class

Result of evaluating one image.

Constructors

ImageResult({AllowlistResult? allowlistResult, CheckSetResult? checkSetResult, String? explanation, String? imageUri, String? verdict})
ImageResult.fromJson(Map json_)

Properties

allowlistResult AllowlistResult?
If the image was exempted by a top-level allow_pattern, contains the allowlist pattern that the image name matched.
getter/setter pair
checkSetResult CheckSetResult?
If a check set was evaluated, contains the result of the check set.
getter/setter pair
explanation String?
Explanation of this image result.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageUri String?
Image URI from the request.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verdict String?
The result of evaluating this image. Possible string values are:
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited