toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'JoinChatCallOk':
      return (this as JoinCall$Mutation$JoinChatCall$JoinChatCallOk).toJson();
    case r'JoinChatCallError':
      return (this as JoinCall$Mutation$JoinChatCall$JoinChatCallError)
          .toJson();
    default:
  }
  return _$JoinCall$Mutation$JoinChatCallToJson(this);
}