toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (commandExpireTime != null) 'commandExpireTime': commandExpireTime!,
if (commandId != null) 'commandId': commandId!,
if (commandResult != null) 'commandResult': commandResult!,
if (issueTime != null) 'issueTime': issueTime!,
if (payload != null) 'payload': payload!,
if (state != null) 'state': state!,
if (type != null) 'type': type!,
};