toJson method

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

Converts a ForceReply object to json.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    'force_reply': forceReply,
    'selective': selective,
    'input_field_placeholder': inputFieldPlaceholder,
  }..removeWhere(_nullFilter);
}