toJson abstract method

Map<String, dynamic> toJson()

Converts an InputPaidMedia to a Map for JSON encoding.

Implementation

Map<String, dynamic> toJson();