toJson method

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

Implementation

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