toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dockerImage != null) 'dockerImage': dockerImage!,
      if (id != null) 'id': id!,
      if (name != null) 'name': name!,
      if (publicKeys != null) 'publicKeys': publicKeys!,
      if (sshHost != null) 'sshHost': sshHost!,
      if (sshPort != null) 'sshPort': sshPort!,
      if (sshUsername != null) 'sshUsername': sshUsername!,
      if (state != null) 'state': state!,
      if (webHost != null) 'webHost': webHost!,
    };