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