toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'StartChatCallOk':
      return (this as StartCall$Mutation$StartChatCall$StartChatCallOk)
          .toJson();
    case r'StartChatCallError':
      return (this as StartCall$Mutation$StartChatCall$StartChatCallError)
          .toJson();
    default:
  }
  return _$StartCall$Mutation$StartChatCallToJson(this);
}