toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'custom'] = this.custom;
    json[r'id'] = this.id;
    json[r'text'] = this.text;
  return json;
}