toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'MyUserEventsVersioned':
      return (this
              as AddUserEmail$Mutation$AddUserEmail$MyUserEventsVersioned)
          .toJson();
    case r'AddUserEmailError':
      return (this as AddUserEmail$Mutation$AddUserEmail$AddUserEmailError)
          .toJson();
    default:
  }
  return _$AddUserEmail$Mutation$AddUserEmailToJson(this);
}