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