toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (state != null) 'state': state!,
if (stateMessage != null) 'stateMessage': stateMessage!,
if (updateTime != null) 'updateTime': updateTime!,
};