Message.fromJson constructor
Message.fromJson(
- Map json_
Implementation
Message.fromJson(core.Map json_)
: this(
newJobState: json_.containsKey('newJobState')
? json_['newJobState'] as core.String
: null,
newTaskState: json_.containsKey('newTaskState')
? json_['newTaskState'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);