toJson method

Map<String, dynamic> toJson()

Converts a VideoChatEnded object to JSON object

Implementation

Map<String, dynamic> toJson() {
  return {
    'duration': duration,
  }..removeWhere(_nullFilter);
}