toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final hostname = this.hostname;
  final ipAddress = this.ipAddress;
  return {
    'hostname': hostname,
    'ipAddress': ipAddress,
  };
}