toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createdAt != null) 'createdAt': createdAt!,
  if (hostnames != null) 'hostnames': hostnames!,
  if (lastModifiedAt != null) 'lastModifiedAt': lastModifiedAt!,
  if (name != null) 'name': name!,
  if (state != null) 'state': state!,
};