toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (capabilities != null) 'capabilities': capabilities!,
if (choiceId != null) 'choiceId': choiceId!,
if (createTime != null) 'createTime': createTime!,
if (creator != null) 'creator': creator!,
if (deleteTime != null) 'deleteTime': deleteTime!,
if (fieldId != null) 'fieldId': fieldId!,
if (name != null) 'name': name!,
if (state != null) 'state': state!,
};