toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => super.toJson()
  ..addAll(<String, dynamic>{
    if (responseId != null) 'response_id': responseId,
    if (contentIndex != null) 'content_index': contentIndex,
  });