Image.fromJson constructor
Image.fromJson(
- Map json_
Implementation
Image.fromJson(core.Map json_)
: this(
error: json_.containsKey('error')
? Status.fromJson(
json_['error'] as core.Map<core.String, core.dynamic>)
: null,
sourceImage: json_.containsKey('sourceImage')
? ToolOutputReference.fromJson(
json_['sourceImage'] as core.Map<core.String, core.dynamic>)
: null,
stepId: json_.containsKey('stepId')
? json_['stepId'] as core.String
: null,
thumbnail: json_.containsKey('thumbnail')
? Thumbnail.fromJson(
json_['thumbnail'] as core.Map<core.String, core.dynamic>)
: null,
);