toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts the request parameters to a JSON format.

Implementation

@override
Map<String, dynamic> toJson() {
  return {"address": address, "visible": visible};
}