toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (attributes != null) 'attributes': attributes!,
if (createTime != null) 'createTime': createTime!,
if (description != null) 'description': description!,
if (discoveredService != null) 'discoveredService': discoveredService!,
if (displayName != null) 'displayName': displayName!,
if (name != null) 'name': name!,
if (serviceProperties != null) 'serviceProperties': serviceProperties!,
if (serviceReference != null) 'serviceReference': serviceReference!,
if (state != null) 'state': state!,
if (uid != null) 'uid': uid!,
if (updateTime != null) 'updateTime': updateTime!,
};