toJson method

Map<String, dynamic> toJson()

Converts an object of the class to Json.

Implementation

Map<String, dynamic> toJson() =>
    {'one_time': oneTime, 'buttons': buttons, 'inline': inline};