CompletionResult.fromJson constructor
CompletionResult.fromJson(
- Map json_
Implementation
CompletionResult.fromJson(core.Map json_)
: this(
imageUri: json_.containsKey('imageUri')
? json_['imageUri'] as core.String
: null,
suggestion: json_.containsKey('suggestion')
? json_['suggestion'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);