ImageResult.fromJson constructor
ImageResult.fromJson(
- Map json_
Implementation
ImageResult.fromJson(core.Map json_)
: this(
allowlistResult: json_.containsKey('allowlistResult')
? AllowlistResult.fromJson(json_['allowlistResult']
as core.Map<core.String, core.dynamic>)
: null,
checkSetResult: json_.containsKey('checkSetResult')
? CheckSetResult.fromJson(json_['checkSetResult']
as core.Map<core.String, core.dynamic>)
: null,
explanation: json_.containsKey('explanation')
? json_['explanation'] as core.String
: null,
imageUri: json_.containsKey('imageUri')
? json_['imageUri'] as core.String
: null,
verdict: json_.containsKey('verdict')
? json_['verdict'] as core.String
: null,
);