Connect the generated _$IPToJson function to the toJson method.
_$IPToJson
toJson
Map<String, dynamic> toJson() => _$messageToJson(this);