toRequestString method

  1. @override
String toRequestString()
override

Convert current request to String encoded whisper json

Implementation

@override
String toRequestString() {
  return json.encode({
    "@type": specialType,
    ...toJson(),
  });
}