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