StatusEvent.fromJson constructor
StatusEvent.fromJson(
- Map json_
Implementation
StatusEvent.fromJson(core.Map json_)
: this(
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
eventTime: json_.containsKey('eventTime')
? json_['eventTime'] as core.String
: null,
taskExecution: json_.containsKey('taskExecution')
? TaskExecution.fromJson(
json_['taskExecution'] as core.Map<core.String, core.dynamic>)
: null,
taskState: json_.containsKey('taskState')
? json_['taskState'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);