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